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

--- Comment #7 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:da377e7ebf84a05943fb768eaeb7d682dee865fa

commit r16-461-gda377e7ebf84a05943fb768eaeb7d682dee865fa
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.

Reply via email to