On 11/12/2015 08:48 AM, Ilya Enkovich wrote:
Hi,
We may get ICE in vectorizer in case stored value get vectype not compatible
with a storage. This may happen for bool values. This patch fixes ICE.
Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk?
Thanks,
Ilya
--
gcc/
2015-11-12 Ilya Enkovich <enkovich....@gmail.com>
* tree-vect-stmts.c (vectorizable_mask_load_store): Check
types of stored value and storage are compatible.
gcc/testsuite/
2015-11-12 Ilya Enkovich <enkovich....@gmail.com>
* g++.dg/vect/simd-mask-store-bool.cc: New test.
OK.
jeff