When running the testsuite on powerpc-unknown-linux-gnu with extra passes containing -fPIC I get the following additional error on the 4.3 branch:
FAIL: gcc.dg/pch/static-1.c -O0 -g assembly comparison FAIL: gcc.dg/pch/static-1.c -O0 assembly comparison FAIL: gcc.dg/pch/static-2.c -O0 -g assembly comparison FAIL: gcc.dg/pch/static-2.c -O0 assembly comparison Testsuite results: http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01996.html The error does NOT occur with -fpic. Only -fPIC triggers it. Later versions (4.4 branch or 4.5 trunk) also do NOT show this error. -- Summary: gcc.dg/pch/static-1.c and gcc.dg/pch/static-2.c fail on powerpc-unknown-linux-gnu with -fPIC Product: gcc Version: 4.3.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: pch AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43497