This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

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


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.


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