[Bug libfortran/59774] New: Inconsistent rounding between -m32 and -m64

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 12 00:56:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59774

            Bug ID: 59774
           Summary: Inconsistent rounding between -m32 and -m64
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: jvdelisle at gcc dot gnu.org
          Reporter: jvdelisle at gcc dot gnu.org

With the following (Found by Dominiq) we get bad results:

 print "(ru,g11.2)", 99.

$gfc  -m32 pr59771.f90 
$ ./a.out 
    10.    

Its rounding up to 100 and then chopping the result.

I don't think this is the same as pr48906 which I just closed.



More information about the Gcc-bugs mailing list