re PR target/82725 ([x86_64] internal compiler error: in change_address_1, at emit...
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 30 Oct 2017 10:33:40 +0000 (11:33 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 30 Oct 2017 10:33:40 +0000 (11:33 +0100)
commit5603c1d9db454cd1f2182f5de3a32c9d1c32497e
tree58691558acbb807f3302b7373855c703b66c3144
parent87039aa26687f4611fab4d3c5abaa62d2c375899
re PR target/82725 ([x86_64] internal compiler error: in change_address_1, at emit-rtl.c:2162)

PR target/82725
* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
UNSPEC_DTPOFF and UNSPEC_NTPOFF with SImode immediate offset.

testsuite/ChangeLog:

PR target/82725
* g++.dg/pr82725.C: New test.

From-SVN: r254212
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr82725.C [new file with mode: 0644]