This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49515] [4.7 Regression] gcc.dg/torture/tls/thr-init-2.c -O2 -fpic execution test failure
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Jun 2011 10:01:50 +0000
- Subject: [Bug target/49515] [4.7 Regression] gcc.dg/torture/tls/thr-init-2.c -O2 -fpic execution test failure
- Auto-submitted: auto-generated
- References: <bug-49515-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49515
--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2011-06-24 10:01:28 UTC ---
(In reply to comment #1)
> The code difference you show cannot be the real problem. The register
> allocator has made a poorer choice in 4.7, leading to an extra move,
> but the code that you show is exactly equivalent.
The move is actually a sign extension instruction, so 4.7 code looks more
correct to me.