https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121194
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:8ca85e95daca7f7c56d297fa7f2328e5385d446c commit r16-2381-g8ca85e95daca7f7c56d297fa7f2328e5385d446c Author: Richard Biener <rguent...@suse.de> Date: Mon Jul 21 12:48:45 2025 +0200 tree-optimization/121194 - check LC PHIs can be vectorized With bools we can have the usual mismatch between mask and data use. Catch that, like we do elsewhere. PR tree-optimization/121194 * tree-vect-loop.cc (vectorizable_lc_phi): Verify vector types are compatible. * gcc.dg/torture/pr121194.c: New testcase.