diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-11-07 17:31:31 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-11-07 17:31:31 +0200 |
commit | 571b34b25eec4909165272e2d5a7084866ddaf96 (patch) | |
tree | 7590a137248d228fe15eb11510fc3cbe045d603c /gcc | |
parent | ed377f02a60ce77f94e5ae099abf06c5bdcf2c6f (diff) | |
download | gcc-571b34b25eec4909165272e2d5a7084866ddaf96.zip gcc-571b34b25eec4909165272e2d5a7084866ddaf96.tar.gz gcc-571b34b25eec4909165272e2d5a7084866ddaf96.tar.bz2 |
clock and time are part of the C standard library.
2011-11-07 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsic.texi (MCLOCK, MCLOCK8, TIME, TIME8): Functions clock
and time are part of the C standard library.
From-SVN: r181087
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/intrinsic.texi | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7076112..ea828c8 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2011-11-07 Janne Blomqvist <jb@gcc.gnu.org> + + * intrinsic.texi (MCLOCK, MCLOCK8, TIME, TIME8): Functions clock + and time are part of the C standard library. + 2011-11-06 Janus Weil <janus@gcc.gnu.org> * gfortran.h (gfc_extend_expr): Modified prototype. diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 24af4d5..f7d5a19 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -8639,7 +8639,7 @@ cases, the result is of the same type and kind as @var{ARRAY}. @table @asis @item @emph{Description}: Returns the number of clock ticks since the start of the process, based -on the UNIX function @code{clock(3)}. +on the function @code{clock(3)} in the C standard library. This intrinsic is not fully portable, such as to systems with 32-bit @code{INTEGER} types but supporting times wider than 32 bits. Therefore, @@ -8677,7 +8677,7 @@ the system does not support @code{clock(3)}. @table @asis @item @emph{Description}: Returns the number of clock ticks since the start of the process, based -on the UNIX function @code{clock(3)}. +on the function @code{clock(3)} in the C standard library. @emph{Warning:} this intrinsic does not increase the range of the timing values over that returned by @code{clock(3)}. On a system with a 32-bit @@ -12222,8 +12222,8 @@ END IF @table @asis @item @emph{Description}: Returns the current time encoded as an integer (in the manner of the -UNIX function @code{time(3)}). This value is suitable for passing to -@code{CTIME}, @code{GMTIME}, and @code{LTIME}. +function @code{time(3)} in the C standard library). This value is +suitable for passing to @code{CTIME}, @code{GMTIME}, and @code{LTIME}. This intrinsic is not fully portable, such as to systems with 32-bit @code{INTEGER} types but supporting times wider than 32 bits. Therefore, @@ -12263,8 +12263,8 @@ The return value is a scalar of type @code{INTEGER(4)}. @table @asis @item @emph{Description}: Returns the current time encoded as an integer (in the manner of the -UNIX function @code{time(3)}). This value is suitable for passing to -@code{CTIME}, @code{GMTIME}, and @code{LTIME}. +function @code{time(3)} in the C standard library). This value is +suitable for passing to @code{CTIME}, @code{GMTIME}, and @code{LTIME}. @emph{Warning:} this intrinsic does not increase the range of the timing values over that returned by @code{time(3)}. On a system with a 32-bit |