[Bug tree-optimization/126417] [17 Regression] Incorrect floating-point re-association

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.