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 target/49515] [4.7 Regression] gcc.dg/torture/tls/thr-init-2.c -O2 -fpic execution test failure


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49515

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2011-06-24 07:42:20 UTC ---
(In reply to comment #1)

> Is linker relaxation messing with this code sequence, perhaps?

You are correct. Adding -Wl,--no-relax produces correct binary.

I will open a binutils bugreport and recycle this one as a RA problem due to
extra register move.


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