https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106258
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:fb5365907317551cf9e4661aa78dd4f773e7a18a commit r13-6273-gfb5365907317551cf9e4661aa78dd4f773e7a18a Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Feb 22 11:22:03 2023 +0100 cgraph: Handle BUILT_IN_UNREACHABLE_TRAP like BUILT_IN_UNREACHABLE in more spots [PR106258] The following testcase ICEs because we still have some spots that treat BUILT_IN_UNREACHABLE specially but not BUILT_IN_UNREACHABLE_TRAP the same. 2023-02-22 Jakub Jelinek <ja...@redhat.com> PR middle-end/106258 * cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee, cgraph_update_edges_for_call_stmt_node, cgraph_node::verify_node): Handle BUILT_IN_UNREACHABLE_TRAP like BUILT_IN_UNREACHABLE. * cgraphclones.cc (cgraph_node::create_clone): Likewise. * g++.dg/ipa/pr106258.C: New test.