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

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

https://gcc.gnu.org/g:94d10c0ef2dca46f1c043c81bcda67ee7e2efc67

commit r15-9653-g94d10c0ef2dca46f1c043c81bcda67ee7e2efc67
Author: Richard Biener <rguent...@suse.de>
Date:   Wed May 7 09:43:54 2025 +0200

    tree-optimization/120143 - ICE with failed early break store move

    The early break vectorization store moving was incorrectly trying
    to move the pattern stmt instead of the original one which failed
    to register and then confused virtual SSA form due to the update
    triggered by a degenerate virtual PHI.

            PR tree-optimization/120143
            * tree-vect-data-refs.cc (vect_analyze_early_break_dependences):
            Move/update the original stmts, not the pattern stmts which
            lack virtual operands and are not in the IL.

            * gcc.dg/vect/vect-early-break_135-pr120143.c: New testcase.

    (cherry picked from commit da377e7ebf84a05943fb768eaeb7d682dee865fa)

Reply via email to