re PR target/66470 (TLS ICE due to ix86_split_long_move)
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Jun 2015 09:12:53 +0000 (11:12 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 10 Jun 2015 09:12:53 +0000 (11:12 +0200)
commit8ffd51d230e0ab7a1c1caaf1486303796862f771
treedec796ae97125a33366e7f80bb12f66109ef31a9
parentb20952407935bd6c4638b9bd8fa44f6099c8bdbc
re PR target/66470 (TLS ICE due to ix86_split_long_move)

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.

From-SVN: r224319
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tls/pr66470.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr66470.c [new file with mode: 0644]