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

--- Comment #11 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:d0e100fc92cd61fe05f8aad1de6fa6fe91fc7742

commit r15-10973-gd0e100fc92cd61fe05f8aad1de6fa6fe91fc7742
Author: Richard Biener <[email protected]>
Date:   Tue Feb 17 11:42:44 2026 +0100

    tree-optimization/124130 - fixup noreturn calls during inlining

    When we are altering the ctrl state of a stmt due to adding abnormal
    edges from it we also have to make sure to cleanup its noreturn state.

            PR tree-optimization/124130
            * tree-inline.cc (copy_edges_for_bb): Fixup noreturn calls
            with abnormal edge source.

            * g++.dg/torture/pr124130.C: New testcase.

    (cherry picked from commit f34a8411afefac46233d7479131d7e5458ecf57d)

Reply via email to