[Bug middle-end/125477] [13/14/15 Regression] ICE on x86_64-linux-gnu: Segmentation fault during GIMPLE pass: vect with asm goto at -O3 since r10-1057

"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=125477

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

https://gcc.gnu.org/g:bbc3f5557076546cf50ec61fc32cca2b56603a2f

commit r15-11487-gbbc3f5557076546cf50ec61fc32cca2b56603a2f
Author: Richard Biener <[email protected]>
Date:   Tue Jun 2 15:41:07 2026 +0200

    tree-optimization/125477 - verify we can copy it before versioning an outer
loop

    The following fixes a hole in vectorizer loop versioning which tries to
    version an outer loop that the versioning condition is invariant in but
    fails to verify we can actually copy it.

            PR tree-optimization/125477
            * tree-vect-loop-manip.cc (vect_loop_versioning): Verify we
            can duplicate an outer loop before considering to version it.

            * gcc.dg/torture/pr125477.c: New testcase.

    (cherry picked from commit bfac2983b69f6cc6631aa7bfd1058eed37d7a425)
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.