[Bug tree-optimization/124627] [15/16 Regression] ICE with LTO with -O1/-O2/-O3 + -g

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 25 08:35:19 GMT 2026


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is caused by the fixup I added in r16-7550-gf34a8411afefac.  The
fixup_noreturn_call causes a debug stmt to be elided during inlining
but then copy_debug_stmts comes along and calls update_stmt on it again,
putting SSA operands back.


More information about the Gcc-bugs mailing list