[Bug fortran/98577] Wrong "count_rate" values with int32 and real32 if the "count" argument is int64.

mehdi.chinoune at hotmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 8 06:18:59 GMT 2021


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

Chinoune <mehdi.chinoune at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |WONTFIX

--- Comment #10 from Chinoune <mehdi.chinoune at hotmail dot com> ---
Intel Fortran 2021 reports the correct time:

$ ifort -O3 bug_gcc_98577.f90 -o test.x
$ ./test.x
 count_rate_r32:   1.219512    
 count_rate_i32:   1.23957700000000     
 count_rate_r64:   1.24717100000000

$ ifx -O3 bug_count_rate.f90 -o test.x
$ ./test.x
 count_rate_r32:   6.216970    
 count_rate_i32:   6.89329900000000     
 count_rate_r64:   6.90696400000000

Thanks God, It is now available for free.

Unlike the old time when gfortran was the only choice, we have now two other
commercial compilers avialable for free (Intel and Nvidia) + the incoming
LLVM/Flang.

Thanks God, Alhamdu-li-Allah.


More information about the Gcc-bugs mailing list