https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119534
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:cdc47838cba79380bb5caa8f3934aabf2b44a7d5 commit r13-9684-gcdc47838cba79380bb5caa8f3934aabf2b44a7d5 Author: Richard Biener <rguent...@suse.de> Date: Tue Apr 1 14:13:03 2025 +0200 tree-optimization/119534 - reject bogus emulated vectorized gather The following makes sure to reject the attempts to emulate a vector gather when the discovered index vector type is a vector mask. PR tree-optimization/119534 * tree-vect-stmts.cc (get_load_store_type): Reject VECTOR_BOOLEAN_TYPE_P offset vector type for emulated gathers. * gcc.dg/vect/pr119534.c: New testcase. (cherry picked from commit d0cc14c62ad7403afcab3c2e38851d3ab179352f)