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

--- Comment #15 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:f65c92a675bccba7bb3359e42d18cd2e7c909294

commit r15-11002-gf65c92a675bccba7bb3359e42d18cd2e7c909294
Author: Richard Biener <[email protected]>
Date:   Wed Mar 25 09:40:56 2026 +0100

    tree-optimization/124627 - inlining and elided debug stmts

    When we fixup a noreturn call during inlining we can end up eliding
    debug stmts, so we have to make sure to not re-instantiate SSA
    operands on those later when processing all debug stmts.

            PR tree-optimization/124627
            * tree-inline.cc (copy_debug_stmts): Only copy debug
            stmts that are still in the IL.

    (cherry picked from commit 415a00e0aae8b39ca81debfcdf82f9c53af203e7)

Reply via email to