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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:31efd46ad8a16aa671f4502816b6b1f9946027ae

commit r15-2754-g31efd46ad8a16aa671f4502816b6b1f9946027ae
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Aug 6 09:50:00 2024 +0200

    tree-optimization/116241 - ICE with SLP condition reduction

    When there's a conversion in front of a SLP condition reduction the
    code following the reduc-idx SLP chain fails because it assumes
    there's only COND_EXPRs.

            PR tree-optimization/116241
            * tree-vect-loop.cc (vect_create_epilog_for_reduction): Handle
            non-COND_EXPR nodes in SLP reduction chain following.

            * g++.dg/vect/pr116241.cc: New testcase.

Reply via email to