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



             Bug #: 55555

           Summary: [4.8 Regression] miscompilation at -O2

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: middle-end

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: joost.vandevond...@mat.ethz.ch





Created attachment 28845

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28845

testcase



The attached testcase is miscompiled at -O2, but runs fine at -O1.



To reproduce



gfortran -O2 bug.f90 ; ./a.out

#3  0x400C7E in MAIN__ at bug.f90:97

Aborted



I believe this is a recent regression on trunk. Tested with



gcc version 4.8.0 20121201 (experimental) [trunk revision 194017] (GCC)

Reply via email to