From: Craig Burley Date: Sun, 14 Feb 1999 01:37:49 +0000 (-0500) Subject: fix MCLOCK8, TIME8 descriptions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=016842937d9ca47985e193d28670d211da045d28;p=gcc.git fix MCLOCK8, TIME8 descriptions From-SVN: r25188 --- diff --git a/gcc/f/intdoc.in b/gcc/f/intdoc.in index a4af5324fc6..6b9dd3b8b14 100644 --- a/gcc/f/intdoc.in +++ b/gcc/f/intdoc.in @@ -1263,6 +1263,13 @@ DEFDOC (MCLOCK8, "Get number of clock ticks for process.", "\ Returns the number of clock ticks since the start of the process. Supported on systems with @code{clock(3)} (q.v.). +@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 @code{clock(3)}, +@code{@0@} will return a 32-bit value, +even though converted to an @samp{INTEGER(KIND=2)} value. +That means overflows of the 32-bit value can still occur. + No Fortran implementations other than GNU Fortran are known to support this intrinsic at the time of this writing. @@ -1315,6 +1322,13 @@ Returns the current time encoded as a long integer 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 @code{time(3)}, +@code{@0@} will return a 32-bit value, +even though converted to an @samp{INTEGER(KIND=2)} value. +That means overflows of the 32-bit value can still occur. + No Fortran implementations other than GNU Fortran are known to support this intrinsic at the time of this writing.