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

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

https://gcc.gnu.org/g:9c3648f74565225a21bdb670c5826897b01aa806

commit r13-10464-g9c3648f74565225a21bdb670c5826897b01aa806
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