https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123316
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:515dba569d138d84e8a5f7ea71d38480732ee899 commit r16-6533-g515dba569d138d84e8a5f7ea71d38480732ee899 Author: Richard Biener <[email protected]> Date: Tue Jan 6 14:10:38 2026 +0100 tree-optimization/123316 - avoid ICE due to lack of PHI patterns With bools we can end up with mixed vector types in PHI nodes due to PHIs not having pattern stmts. Avoid this when analyzing a nested cycle, similar to how we already to when analyzing BB vectorization PHIs. PR tree-optimization/123316 * tree-vect-loop.cc (vectorizable_reduction): Detect missing PHI patterns for bools. * gcc.dg/vect/vect-pr123316.c: New testcase.
