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

--- Comment #8 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:19258ca1b85bc15e3a49054eff209f4f0d1c5bee

commit r15-1392-g19258ca1b85bc15e3a49054eff209f4f0d1c5bee
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jun 17 16:01:15 2024 +0200

    tree-optimization/115493 - fix wrong code with SLP induction cond reduction

    The following fixes a bad final value being used when doing single-lane
    SLP integer induction cond reduction vectorization.

            PR tree-optimization/115493
            * tree-vect-loop.cc (vect_create_epilog_for_reduction): Use
            the first scalar result.

Reply via email to