This testcase fails on both powerpc-darwin and powerpc-aix at -Os according to the testresults.
I tested with it with an older 4.0 (20050108) and it worked there, there for this is a regression. It also passes with 3.3.3 too. It also fails with "4.0.1 20050610". -- Summary: [4.0/4.1 Regression] gcc.c-torture/execute/20050713-1.c -Os fails Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc-*-darwin, powerpc-*-aix http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23090