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

             Bug #: 52491
           Summary: FAIL: gcc.dg/torture/pr52402.c at -O2 and above
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: rgue...@gcc.gnu.org
              Host: powerpc-apple-darwin9
            Target: powerpc-apple-darwin9
             Build: powerpc-apple-darwin9


At gcc version 4.7.0 20120229 (experimental) [trunk revision 184663p2] (GCC) 
the test gcc.dg/torture/pr52402.c fails at -O2 and above

FAIL: gcc.dg/torture/pr52402.c  -O2  execution test
FAIL: gcc.dg/torture/pr52402.c  -O3 -fomit-frame-pointer  execution test
FAIL: gcc.dg/torture/pr52402.c  -O3 -g  execution test
FAIL: gcc.dg/torture/pr52402.c  -Os  execution test
FAIL: gcc.dg/torture/pr52402.c  -O2 -flto -flto-partition=none  execution test
FAIL: gcc.dg/torture/pr52402.c  -O2 -flto  execution test

The failing output is

[karma] f90/bug% gcc47 -w -Wno-psabi pr52402_db.c -O2
[karma] f90/bug% a.out 
10101 
Abort

instead of

[karma] f90/bug% gcc47 -w -Wno-psabi pr52402_db.c -O1
[karma] f90/bug% a.out
1010101 

These failures seem different from the ones reported in pr52450.

Reply via email to