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/66470] [4.8/4.9/5/6 Regression] TLS ICE due to ix86_split_long_move


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


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