re PR middle-end/77377 (c-c++-common/pr59037.c ICEs with -fpic -msse on i686)
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Aug 2016 06:45:56 +0000 (08:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Aug 2016 06:45:56 +0000 (08:45 +0200)
commit26122e2d8a1aa5e8ea91f7df94513cde1e2de509
tree7e28037ad6ece73174d26d1748b4aa22362f6048
parentab8348325fede96edbd63fdc233173682c8496d5
re PR middle-end/77377 (c-c++-common/pr59037.c ICEs with -fpic -msse on i686)

PR middle-end/77377
* simplify-rtx.c (avoid_constant_pool_reference): For out of bounds
constant pool reference return x instead of c.

* gcc.target/i386/pr77377.c: New test.

From-SVN: r239854
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr77377.c [new file with mode: 0644]