https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124627
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:415a00e0aae8b39ca81debfcdf82f9c53af203e7 commit r16-8287-g415a00e0aae8b39ca81debfcdf82f9c53af203e7 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.
