Bug 30953 - intrinsic: CTIME
Summary: intrinsic: CTIME
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Brooks Moses
URL:
Keywords: documentation
Depends on:
Blocks: 30932
  Show dependency treegraph
 
Reported: 2007-02-24 22:54 UTC by Daniel Franke
Modified: 2007-03-14 04:40 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2007-03-13 09:09:41


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Franke 2007-02-24 22:54:04 UTC
subroutine = {
	name = 'ctime';
	arg  = 'time';
	arg  = 'result';

	call = 'CALL ctime(time = int_8, result = string)';
};

The documentation states:
> Arguments:
>   S  The type shall be of type CHARACTER. 
>   T  The type shall be of type INTEGER(KIND=8). 

But the implement dummy argument names are "time" and "result".
Comment 1 Brooks Moses 2007-03-14 04:37:33 UTC
Subject: Bug 30953

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

Comment 2 Brooks Moses 2007-03-14 04:39:04 UTC
Subject: Bug 30953

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

Comment 3 Brooks Moses 2007-03-14 04:40:54 UTC
Fixed by the above commits on 4.2 and trunk.