subroutine = { name = 'cpu_time'; arg = 'x'; call = 'CALL cpu_time(x = real_4)'; call = 'CALL cpu_time(x = real_8)'; }; 1. The name of the dummy argument is "TIME" instead of "X" as documented.
Confirmed. I think CPU_TIME is a standard intrinsic, what is the standard name for its argument?
> what is the standard name for its argument? F95 draft, 13.14.25 CPU_TIME (TIME) So, only the documentation needs to be changed.
Subject: Bug 30950 Author: dfranke Date: Tue Mar 6 21:57:02 2007 New Revision: 122640 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122640 Log: 2007-03-06 Daniel Franke <franke.daniel@gmail.com> PR documentation/30950 * intrinsic.texi (AND, CPU_TIME): Fix dummy argument names. (FREE): Fix call syntax. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/intrinsic.texi
Subject: Bug 30950 Author: dfranke Date: Tue Mar 6 21:57:09 2007 New Revision: 122641 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122641 Log: 2007-03-06 Daniel Franke <franke.daniel@gmail.com> PR documentation/30950 * intrinsic.texi (AND, CPU_TIME): Fix dummy argument names. (FREE): Fix call syntax. Modified: branches/gcc-4_2-branch/gcc/fortran/ChangeLog branches/gcc-4_2-branch/gcc/fortran/intrinsic.texi
Fixed in 4.2 and trunk.