With the 4.0 branch, I'm getting a testsuite execution failure in gcc.dg/tls/pr24428.c when using -fpic/-fPIC on x86_64-unknown-linux-gnu:
http://gcc.gnu.org/ml/gcc-testresults/2005-12/msg00893.html I don't see the problem in 4.1 or mainline -- Summary: [4.0 only] failure in gcc.dg/tls/pr24428.c with -fpic/- fPIC on x86_64 Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25440