This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

g77 doc fixes


I've committed this patch.

        tq vm, (burley)


1999-02-14  Craig Burley  <craig@jcb-sc.com>

	* intdoc.in (MCLOCK8, TIME8): Warn about lower range on
	32-bit systems.

diff -rcp2N cvs/egcs/gcc/f/intdoc.in egcs-19990211/gcc/f/intdoc.in
*** cvs/egcs/gcc/f/intdoc.in	Wed Dec 16 16:17:27 1998
--- egcs-19990211/gcc/f/intdoc.in	Sun Feb 14 01:17:11 1999
*************** Returns the number of clock ticks since 
*** 1264,1267 ****
--- 1264,1274 ----
  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
*************** Returns the current time encoded as a lo
*** 1315,1318 ****
--- 1322,1332 ----
  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]