https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126457
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:25acc01bc4299513d2f194eb7f92479a0b59a120 commit r16-9459-g25acc01bc4299513d2f194eb7f92479a0b59a120 Author: Richard Biener <[email protected]> Date: Wed Jul 29 11:32:48 2026 +0200 tree-optimization/126457 - robustify reduction analysis The following adds an early out for unsupported reduction operations to avoid ICEing when the assumption that the GIMPLE stmt operand number matches the SLP operand number breaks, as is for .CLZ with two operands. PR tree-optimization/126457 * tree-vect-loop.cc (vectorizable_reduction): Reject operations where not all operands correspond to a SLP child early. * gcc.dg/vect/vect-pr126457.c: New testcase. (cherry picked from commit 3e6ac9b8d87704323df1f12214c29725c4e5eb9d)
