re PR target/77833 (ICE: in plus_constant, at explow.c:87 with -O -mavx512f)
authorRichard Biener <rguenther@suse.de>
Tue, 4 Oct 2016 13:39:22 +0000 (13:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 4 Oct 2016 13:39:22 +0000 (13:39 +0000)
commit2b5688997f2bfc90fa512f0bb2d010bf8d7a85b6
tree12057e6e0c200c7e29f4cef0185ad8e4ef681b0a
parentd96a55858cbdf50f70a7440906ff67f8936c4f08
re PR target/77833 (ICE: in plus_constant, at explow.c:87 with -O -mavx512f)

2016-10-04  Richard Biener  <rguenther@suse.de>

PR middle-end/77833
* explow.c (plus_constant): Verify the mode of the constant
pool offset before calling plus_constant.

* gcc.target/i386/pr77833.c: New testcase.

From-SVN: r240743
gcc/ChangeLog
gcc/explow.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr77833.c [new file with mode: 0644]