re PR middle-end/68595 (ice in const_vector_mask_from_tree at expr.c:11455)
authorIlya Enkovich <enkovich.gnu@gmail.com>
Tue, 1 Dec 2015 11:04:06 +0000 (11:04 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Tue, 1 Dec 2015 11:04:06 +0000 (11:04 +0000)
commit5a308cf1c6c2e6fab5533209d7c9ea38b1caca44
tree83f974a01ff75ffe03fec7d99daf60e0feba628f
parent4265bac79a4b81e5d0c37537b70dc1536f1dd1a1
re PR middle-end/68595 (ice in const_vector_mask_from_tree at expr.c:11455)

gcc/

PR middle-end/68595
* tree-vect-stmts.c (vect_init_vector): Cast boolean
scalars to a proper value before building a vector.

gcc/testsuite/

PR middle-end/68595
* gcc.dg/pr68595.c: New test.

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