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

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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 <[email protected]>:

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

commit r17-3212-g67c9a2c1c7ed4414151acef4a8e336c751959225
Author: Tamar Christina <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.