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

--- 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:ee5e63a6531defa646b995592f577c05ed288d63

commit r17-4643-gee5e63a6531defa646b995592f577c05ed288d63
Author: Richard Biener <[email protected]>
Date:   Fri Sep 25 10:36:12 2026 +0200

    tree-optimization/127600 - bogus INTEGER_INDUC_COND_REDUCTION detection

    After we introduced additional induction kinds we failed to make sure
    integer cond reductions are unaffected.

            PR tree-optimization/127600
            * tree-vect-loop.cc (vect_is_simple_iv_evolution): Explicitly
            initialize STMT_VINFO_LOOP_PHI_EVOLUTION_TYPE.
            (is_nonwrapping_integer_induction): Bail out for alternate
            induction types.

            * gcc.dg/vect/vect-cond-reduc-7.c: New testcase.

Reply via email to