[Bug tree-optimization/126778] [17 Regression] ICE compiling perlbench in verify_ssa caused by commit r17-2949

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 12 06:58:51 GMT 2026


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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfchris@gcc.gnu.org>:

https://gcc.gnu.org/g:67c9a2c1c7ed4414151acef4a8e336c751959225

commit r17-3212-g67c9a2c1c7ed4414151acef4a8e336c751959225
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Wed Aug 12 07:57:39 2026 +0100

    vect: fix virtual PHI after header rewrite [PR126778]

    The loop header rewrite in vect_set_loop_condition_partial_vectors runs
after
    early break store movement and so it has to update any virtual operands on
the
    exit edge.

    gcc/ChangeLog:

            PR tree-optimization/126778
            * tree-vect-loop-manip.cc (get_live_virtual_operand_on_edge): Move
it.
            (vect_set_loop_condition_partial_vectors): Use it to update edge.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/126778
            * gcc.dg/vect/vect-early-break_145-pr126778_1.c: New test.
            * gcc.dg/vect/vect-early-break_145-pr126778_2.c: New test.


More information about the Gcc-bugs mailing list