[Bug middle-end/50628] New: [4.7 Regression] gfortran.fortran-torture/execute/entry_4.f fails

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 6 12:59:00 GMT 2011


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

             Bug #: 50628
           Summary: [4.7 Regression]
                    gfortran.fortran-torture/execute/entry_4.f fails
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org


gfortran.fortran-torture/execute/entry_4.f fails with -O2, it works with -O.
The failure is an ABORT in line 54, i.e. in the main program's
        if (f2 (0) .ne. 45) call abort ()
check. With -O, the complex number is "(45.0000000, 0.00000000)", but with -O2
one has "(0.00000000, 0.00000000)".

FAILING: Rev. 179603 of today (x86-64-linux)
WORKING: Same system with -m32.

FAILING: Rev. 179594,  4.7.0 20111006, x86_64-unknown-linux-gnu
         http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg00659.html
FAILING: Rev. 179566,  4.7.0 20111005, x86_64-unknown-linux-gnu
         http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg00565.html
WORKING: Rev. 179545,  4.7.0 20111005, x86_64-unknown-linux-gnu
         http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg00550.html



More information about the Gcc-bugs mailing list