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

--- Comment #16 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:bbb15fd5c8a561075f4a6c71eb1f03ad6c08c5ea

commit r16-7408-gbbb15fd5c8a561075f4a6c71eb1f03ad6c08c5ea
Author: Richard Biener <[email protected]>
Date:   Mon Feb 9 10:53:01 2026 +0100

    tree-optimization/124034 - remove early-break special-casing of inductions

    After recent improvements to how we deal with early-break requirements
    of induction variable updates we no longer need to force induction
    latch defs relevant.  This in turn makes only-live defs visible to
    SLP discovery, resolving the miscompilation in this PR.

            PR tree-optimization/124034
            * tree-vect-stmts.cc (process_use): Never force induction
            latch defs relevant when doing early break vectorization.

            * gcc.dg/vect/vect-early-break_142-pr124034.c: New testcase.

Reply via email to