This testcase does not return 0 on powerpc64-suse-linux and s390x-suse-linux with compiled with -O1 but it does with -O0. I tried all the new opts from -O0 to -O1, but adding them all to -O0 does not fix it. No idea why.
flags=' -O1' gcc -Wall -c -o /tmp/main.o /tmp/main.c $flags gcc -Wall -c -o /tmp/matroxfb_probe.o /tmp/matroxfb_probe.c $flags gcc -Wall -o /tmp/matroxfb_probe /tmp/main.o /tmp/matroxfb_probe.o $flags /tmp/matroxfb_probe -- Summary: Linux matroxfb_probe miscompiled Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: olh at suse dot de GCC build triplet: powerpc64-linux GCC host triplet: powerpc64-linux GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26643