https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126457

--- Comment #2 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:3e6ac9b8d87704323df1f12214c29725c4e5eb9d

commit r17-2786-g3e6ac9b8d87704323df1f12214c29725c4e5eb9d
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.

Reply via email to