tree-vect-stmts.c (vectorizable_mask_load_store): Check types of stored value and...
authorIlya Enkovich <enkovich.gnu@gmail.com>
Fri, 13 Nov 2015 06:50:18 +0000 (06:50 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 13 Nov 2015 06:50:18 +0000 (06:50 +0000)
commit57e2f6ad9f1af35a539be51006a00436e34923f0
tree28ebc516cd400d8a9ca476cb9e644a7600b1bcb3
parent54985c70aa21fe6cf49f2d109a6bd51f0a4c964f
tree-vect-stmts.c (vectorizable_mask_load_store): Check types of stored value and storage are compatible.

gcc/

* tree-vect-stmts.c (vectorizable_mask_load_store): Check
types of stored value and storage are compatible.

gcc/testsuite/

* g++.dg/vect/simd-mask-store-bool.cc: New test.

From-SVN: r230289
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/vect/simd-mask-store-bool.cc [new file with mode: 0644]
gcc/tree-vect-stmts.c