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

--- 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:6ae711942f345e3b6e149431e5ce4eff9162835b

commit r17-2738-g6ae711942f345e3b6e149431e5ce4eff9162835b
Author: Richard Biener <[email protected]>
Date:   Mon Jul 27 19:33:38 2026 +0200

    tree-optimization/126417 - bogus fold-left reduction check

    I messed up and checked the vector type instead of the reduction
    number of lanes.

            PR tree-optimization/126417
            * tree-vect-slp.cc (vectorizable_bb_reduc_epilogue): Check
            the total number of lanes instead of the vector type against
            the two-lane special case that doesn't need fold-left reduction
            handling.

Reply via email to