re PR target/78227 (ICE: unrecognizable insn: in extract_insn, at recog.c:2311 with...
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Nov 2016 17:33:27 +0000 (18:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Nov 2016 17:33:27 +0000 (18:33 +0100)
commit60cee85e0aa7d240b47a658e4ea10c410f067a39
tree3683809b7f8fe69336fb6c5f137e0f9429244548
parent7aa13860fb669e459c932e722743b0edfa373071
re PR target/78227 (ICE: unrecognizable insn: in extract_insn, at recog.c:2311 with -mavx512bw and vector comare)

PR target/78227
* config/i386/i386.c (ix86_expand_sse_cmp): Force dest into
cmp_mode argument even for -O0 if cmp_mode != mode and maskcmp.

* gcc.target/i386/pr78227-1.c: New test.
* gcc.target/i386/pr78227-2.c: New test.

From-SVN: r241916
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr78227-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78227-2.c [new file with mode: 0644]