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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:32ab9238d86dfa6d74d3592bec570f4f257d0413

commit r13-3370-g32ab9238d86dfa6d74d3592bec570f4f257d0413
Author: Richard Biener <[email protected]>
Date:   Wed Oct 19 09:01:56 2022 +0200

    tree-optimization/106781 - adjust cgraph lhs removal

    The following matches up the cgraph code removing LHS of a noreturn
    call with what fixup_noreturn_call does which gets along without
    inserting a definition, fixing the ICE resulting from having no
    place to actually insert that new def.

            PR tree-optimization/106781
            * cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): Copy
            LHS removal from fixup_noreturn_call.

            * gcc.dg/pr106781.c: New testcase.

Reply via email to