From be960ff72311883b21d520570ddfc4081672c057 Mon Sep 17 00:00:00 2001 From: jb Date: Mon, 7 Nov 2011 15:31:31 +0000 Subject: [PATCH] clock and time are part of the C standard library. 2011-11-07 Janne Blomqvist * intrinsic.texi (MCLOCK, MCLOCK8, TIME, TIME8): Functions clock and time are part of the C standard library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181087 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 5 +++++ 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 + + * intrinsic.texi (MCLOCK, MCLOCK8, TIME, TIME8): Functions clock + and time are part of the C standard library. + 2011-11-06 Janus Weil * 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 -- 2.7.4