ipa-prop: Fix another case of missing BUILT_IN_UNREACHABLE_TRAP handling [PR106258]
authorJakub Jelinek <jakub@redhat.com>
Thu, 23 Feb 2023 14:24:43 +0000 (15:24 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 23 Feb 2023 14:24:43 +0000 (15:24 +0100)
commit68e7489b6c1035c69ee008a63d3d56e89fafbb30
tree84e55576537fe65fd1d74ebbc8cddc0a3e26ae99
parent8fda668e0919af9ceda9435f02a1708b375b2913
ipa-prop: Fix another case of missing BUILT_IN_UNREACHABLE_TRAP handling [PR106258]

There is another spot that handles in IPA just BUILT_IN_UNREACHABLE and
not BUILT_IN_UNREACHABLE_TRAP.

This patch fixes that.

2023-02-23  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/106258
* ipa-prop.cc (try_make_edge_direct_virtual_call): Handle
BUILT_IN_UNREACHABLE_TRAP like BUILT_IN_UNREACHABLE.
gcc/ipa-prop.cc