http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55412
--- Comment #3 from Alexander Ivchenko <aivchenk at gmail dot com> 2012-11-21 07:48:23 UTC --- I tried to narrow down the problem and changed the test a little bit. (The relative order of declarations remains the same; Just grouped the coupled declarations) This changed test passes with -fno-pic and fails with -fpic. BUT if we comment out the first group of definition/declarations the test will fail with -fno-pic with the same problem, eventhough those two groups are completely independent of each other test case is attached in the previous comment