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

--- Comment #3 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:9d276bf057459de93ba304cdf780dbff3882491e

commit r17-333-g9d276bf057459de93ba304cdf780dbff3882491e
Author: Richard Biener <[email protected]>
Date:   Tue May 5 10:10:07 2026 +0200

    tree-optimization/125185 - fix ICE with associating DOT_PROD_EXPR

    When trying to discover a SLP reduction chain we eventually feed
    non-binary associatable stmts to vect_slp_linearize_chain which
    isn't prepared for that.  Don't.

            PR tree-optimization/125185
            * tree-vect-slp.cc (vect_analyze_slp_reduc_chain): Guard
            first vect_slp_linearize_chain call.

            * gcc.dg/torture/pr125185.c: New testcase.

Reply via email to