The testcases gcc.dg/torture/ipa-pta-1.c and gcc.dg/tree-ssa/alias-2.c used to work with -fpic/-fPIC on the trunk, but now fail. The alias-2.c testcase worked in 4.2, 4.3 with -fpic/-fPIC also, and the testcase doesn't appear to have changed. I think ipa-pta-1.c was added only on the trunk a few months ago so there's no comparison with previous releases, however it did work on the trunk up until very recently.
They both passed here: http://gcc.gnu.org/ml/gcc-testresults/2008-11/msg01383.html And they both started failing here: http://gcc.gnu.org/ml/gcc-testresults/2008-11/msg01516.html Based on the timing, I suspect that the cause is related. -- Summary: [4.4 regression] gcc.dg/torture/ipa-pta-1.c & gcc.dg/tree-ssa/alias-2.c fail with -fpic/-fPIC Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org GCC target triplet: x86_64-*-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38261