This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66470] [4.8/4.9/5/6 Regression] TLS ICE due to ix86_split_long_move
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Jun 2015 09:26:38 +0000
- Subject: [Bug target/66470] [4.8/4.9/5/6 Regression] TLS ICE due to ix86_split_long_move
- Auto-submitted: auto-generated
- References: <bug-66470-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66470
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun 10 09:26:06 2015
New Revision: 224321
URL: https://gcc.gnu.org/viewcvs?rev=224321&root=gcc&view=rev
Log:
PR target/66470
* config/i386/i386.c (ix86_split_long_move): For collisions
involving direct tls segment refs, move the UNSPEC_TP possibly
wrapped in ZERO_EXTEND out of the address for lea, to each of
the memory loads.
* gcc.dg/tls/pr66470.c: New test.
* gcc.target/i386/pr66470.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/tls/pr66470.c
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr66470.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/i386/i386.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog