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 #12 from Chinoune <mehdi.chinoune at hotmail dot com> ---
First example:

$ ifort bug_gcc_tic.f90 -o test.x
$ ./test.x
count(int_32):                                                                 
                                                                               
     count_rate(int32) =        10000                                          
                                                                               
          count_rate(int64) =                  10000                           
                                                                               
               count_rate(real32) =    10000.00                                
                                                                               
                    count_rate(real64) =    10000.0000000000                   
                                                                               
                         count(int_64):                                        
                                                                               
                              count_rate(int32) =      1000000                 
                                                                               
                                   count_rate(int64) =                1000000  
                                                                               
                                        count_rate(real32) =    1000000.       
                                                                               
                                             count_rate(real64) =   
1000000.00000000

Unlike gfortran, count_rate with ifort depends only on the precision of the
first argument of system_clock. It doesn't mixup.

Reply via email to