re PR target/69421 (ICE in maybe_legitimize_operand, at optabs.c:6888 with -O3)
authorIlya Enkovich <enkovich.gnu@gmail.com>
Mon, 25 Jan 2016 12:48:54 +0000 (12:48 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Mon, 25 Jan 2016 12:48:54 +0000 (12:48 +0000)
commit2947d3b29ca4008d6ed4bf53851c04972c56ede1
tree5938fade9440c8d2ae287cda71cb73ce387b839a
parent1cf11fe62a4318f6188b6cd74272ab7311b3b717
re PR target/69421 (ICE in maybe_legitimize_operand, at optabs.c:6888 with -O3)

gcc/

PR target/69421
* tree-vect-stmts.c (vectorizable_condition): Check vectype
of operands is compatible with a statement vectype.

gcc/testsuite/

PR target/69421
* gcc.dg/pr69421.c: New test.

From-SVN: r232792
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69421.c [new file with mode: 0644]
gcc/tree-vect-stmts.c