[Bug target/77991] [5/6/7 Regression] ICE on x32 in plus_constant, at explow.c:87

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 19 15:01:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77991

--- Comment #7 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Oct 19 15:00:06 2016
New Revision: 241346

URL: https://gcc.gnu.org/viewcvs?rev=241346&root=gcc&view=rev
Log:
        PR target/77991
        * config/i386/i386.c (legitimize_tls_address)
        <case TLS_MODEL_INITIAL_EXEC>: For TARGET_64BIT || TARGET_ANY_GNU_TLS
        convert dest to Pmode if different than Pmode.

testsuite/ChangeLog:

        PR target/77991
        * gcc.target/i386/pr77991.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr77991.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/i386/i386.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list