https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119534
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:97dde4260ca1bf841be0e7565962670a30d45fd2 commit r14-11671-g97dde4260ca1bf841be0e7565962670a30d45fd2 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)