The testcase gcc.dg/ipa/ipacost-2.c fails with -fpic/-fPIC, and has been doing so since it was added to the testsuite back in August.
August results: http://gcc.gnu.org/ml/gcc-testresults/2008-08/msg02784.html Current results: http://gcc.gnu.org/ml/gcc-testresults/2008-11/msg02234.html Is this test something that should work with -fpic/-fPIC? Could it pass if some function were made static and/or it was compiled with -fpie? Or does it indicate a bug in the compiler? -- Summary: gcc.dg/ipa/ipacost-2.c fails with -fpic/-fPIC Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38263