diff options
author | Jakub Jelinek <jakub@redhat.com> | 2023-02-22 11:22:03 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2023-02-22 11:22:03 +0100 |
commit | fb5365907317551cf9e4661aa78dd4f773e7a18a (patch) | |
tree | 93f8f5aff3ec71e7efd5d84832540407e7435a9d /gcc/rust/resolve | |
parent | 334f23d83261997ca89d8919b94b97aa22003a65 (diff) | |
download | gcc-fb5365907317551cf9e4661aa78dd4f773e7a18a.zip gcc-fb5365907317551cf9e4661aa78dd4f773e7a18a.tar.gz gcc-fb5365907317551cf9e4661aa78dd4f773e7a18a.tar.bz2 |
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 <jakub@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.
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions