re PR target/65593 (internal compiler error: in extract_insn, at recog.c:2343)
authorJakub Jelinek <jakub@redhat.com>
Fri, 27 Mar 2015 17:35:14 +0000 (18:35 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 27 Mar 2015 17:35:14 +0000 (18:35 +0100)
commitf21a589997d17031e4d5169e7ef24f10d59c9530
tree92ca956383077c14ed2dba324842ea3408e4f0c1
parent4e55d61a1ba6d868e3ea537868ce2b8c81e1043a
re PR target/65593 (internal compiler error: in extract_insn, at recog.c:2343)

PR target/65593
* config/i386/i386.c (legitimize_pic_address): If base
is SYMBOL_REF or LABEL_REF using %rip addressing, force
it to reg to avoid PLUS of SYMBOL_REF/LABEL_REF and register.

* gcc.c-torture/compile/pr65593.c: New test.

From-SVN: r221741
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr65593.c [new file with mode: 0644]