From 016842937d9ca47985e193d28670d211da045d28 Mon Sep 17 00:00:00 2001 From: Craig Burley Date: Sat, 13 Feb 1999 20:37:49 -0500 Subject: [PATCH] fix MCLOCK8, TIME8 descriptions From-SVN: r25188 --- gcc/f/intdoc.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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. -- 2.30.2