[Bug fortran/64432] [5 Regression] SYSTEM_CLOCK(COUNT_RATE=rate) wrong result for integer(4)::rate

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 16 03:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64432

--- Comment #18 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 34771
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34771&action=edit
A test case

Current results with attached test case.

$ ./a.out 
KIND=1: 34  1  127
KIND=1: 34  1.00000000  127
 -----------------------------------------------------------
KIND=2: 17774  1000  32767
KIND=2: 17774  1000.00000  32767
 -----------------------------------------------------------
KIND=4: 22758766  1000  2147483647
KIND=4: 22758766  1000.00000  2147483647
 -----------------------------------------------------------
KIND=8: 22758766833088  1000000000  9223372036854775807
KIND=8: 22758766851741  1000000000.0000000  9223372036854775807
 -----------------------------------------------------------
KIND=10: 22758766876478  1000000000  9223372036854775807
KIND=10: 22758766894351  1000000000.00000000000  9223372036854775807
 -----------------------------------------------------------
KIND=16: 22758766919976  1000000000  9223372036854775807
KIND=16: 22758766933064  1000000000.00000000000000000000000000 
9223372036854775807



More information about the Gcc-bugs mailing list