https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95487
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:2eed94cbf2e8182d700aac3ac52b0967f00a2621 commit r10-8353-g2eed94cbf2e8182d700aac3ac52b0967f00a2621 Author: Richard Biener <rguent...@suse.de> Date: Wed Jun 3 15:51:29 2020 +0200 tree-optimization/95487 - use a truth type for scatter masks This makes sure to get a truth type for scatter masks even when they are invariant. 2020-06-03 Richard Biener <rguent...@suse.de> PR tree-optimization/95487 * tree-vect-stmts.c (vectorizable_store): Use a truth type for the scatter mask. * g++.dg/vect/pr95487.cc: New testcase.