public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30948]  New: intrinsic: CHDIR
@ 2007-02-24 18:48 dfranke at gcc dot gnu dot org
  2007-02-24 18:55 ` [Bug fortran/30948] " dfranke at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-02-24 18:48 UTC (permalink / raw)
  To: gcc-bugs

subroutine = {
        name = 'chdir';
        arg  = 'path';
        arg  = 'status';

        call = 'CALL chdir(path = string)';
        call = 'CALL chdir(path = string, status = int_1)';
        call = 'CALL chdir(path = string, status = int_2)';
        call = 'CALL chdir(path = string, status = int_4)';
        call = 'CALL chdir(path = string, status = int_8)';
};

1. The name of the first dummy argument is "NAME" instead of "PATH" (as
documented)
2. The library does not provide overloads for int1 and int2 (i16?)
3. The documentation does not specify the type of the STATUS argument


-- 
           Summary: intrinsic: CHDIR
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid, documentation
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org
OtherBugsDependingO 30932
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
@ 2007-02-24 18:55 ` dfranke at gcc dot gnu dot org
  2007-03-03 10:23 ` fxcoudert at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-02-24 18:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dfranke at gcc dot gnu dot org  2007-02-24 18:55 -------
4. The chdir()-function is implemented but not documented

$> cat chdir.f90
integer :: s
s = chdir("/tmp")
end

$> gfortran-svn -Wall chdir.f90 && echo ok
ok


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
  2007-02-24 18:55 ` [Bug fortran/30948] " dfranke at gcc dot gnu dot org
@ 2007-03-03 10:23 ` fxcoudert at gcc dot gnu dot org
  2007-03-14  4:19 ` brooks at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-03-03 10:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-03 10:23:43
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
  2007-02-24 18:55 ` [Bug fortran/30948] " dfranke at gcc dot gnu dot org
  2007-03-03 10:23 ` fxcoudert at gcc dot gnu dot org
@ 2007-03-14  4:19 ` brooks at gcc dot gnu dot org
  2007-03-14  4:37 ` brooks at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-14  4:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from brooks at gcc dot gnu dot org  2007-03-14 04:19 -------
Furthermore, the function form of CHDIR erroneously has "A" as the argument
name.

(Actually, all three of the names involved for this artgument are erroneous
compared to the G77 documentation, which gives the variable name as "DIR"!)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-03-14  4:19 ` brooks at gcc dot gnu dot org
@ 2007-03-14  4:37 ` brooks at gcc dot gnu dot org
  2007-03-14  4:39 ` brooks at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-14  4:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from brooks at gcc dot gnu dot org  2007-03-14 04:37 -------
Subject: Bug 30948

Author: brooks
Date: Wed Mar 14 04:37:15 2007
New Revision: 122904

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122904
Log:
PR fortran/30922
PR fortran/30948
PR fortran/30953
* intrinsics.texi (CHDIR): Fix argument names, note
that STATUS must be a default integer.
(CTIME): Fix argument names, note that RESULT must
be a default integer.
(EXIT): Note that STATUS must be a default integer.

Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/intrinsic.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-03-14  4:37 ` brooks at gcc dot gnu dot org
@ 2007-03-14  4:39 ` brooks at gcc dot gnu dot org
  2007-03-14  4:44 ` brooks at gcc dot gnu dot org
  2007-08-06 22:46 ` fxcoudert at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-14  4:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from brooks at gcc dot gnu dot org  2007-03-14 04:39 -------
Subject: Bug 30948

Author: brooks
Date: Wed Mar 14 04:38:47 2007
New Revision: 122905

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122905
Log:
PR fortran/30922
PR fortran/30948
PR fortran/30953
* intrinsics.texi (CHDIR): Fix argument names, note
that STATUS must be a default integer.
(CTIME): Fix argument names, note that RESULT must
be a default integer.
(EXIT): Note that STATUS must be a default integer.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/intrinsic.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-03-14  4:39 ` brooks at gcc dot gnu dot org
@ 2007-03-14  4:44 ` brooks at gcc dot gnu dot org
  2007-08-06 22:46 ` fxcoudert at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-14  4:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from brooks at gcc dot gnu dot org  2007-03-14 04:43 -------
The above commits fix the erroneous argument name in the documentation; it is
now documented to be "NAME".  In addition, the "STATUS" argument is now
documented to only allow default integers (which can be int_4 or int_8
depending on the -fdefault-integer-kind argument).

If the decision is made to call this variable "PATH" instead, the documentation
will now need to be changed to match.

The argument name for the function version is still "A"; this needs to be
fixed.

I'm removing the "documentation" keyword to reflect that the documentation is
corrected, but leaving this open because of the other parts that are not yet
fixed.


-- 

brooks at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|documentation               |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/30948] intrinsic: CHDIR
  2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-03-14  4:44 ` brooks at gcc dot gnu dot org
@ 2007-08-06 22:46 ` fxcoudert at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-06 22:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from fxcoudert at gcc dot gnu dot org  2007-08-06 22:45 -------
Last bit fixed: http://gcc.gnu.org/viewcvs?view=rev&revision=127257


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30948


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-08-06 22:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-24 18:48 [Bug fortran/30948] New: intrinsic: CHDIR dfranke at gcc dot gnu dot org
2007-02-24 18:55 ` [Bug fortran/30948] " dfranke at gcc dot gnu dot org
2007-03-03 10:23 ` fxcoudert at gcc dot gnu dot org
2007-03-14  4:19 ` brooks at gcc dot gnu dot org
2007-03-14  4:37 ` brooks at gcc dot gnu dot org
2007-03-14  4:39 ` brooks at gcc dot gnu dot org
2007-03-14  4:44 ` brooks at gcc dot gnu dot org
2007-08-06 22:46 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).