This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug treelang/55412] pr47276.c fails with -fpic option.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]