Do not remove ifunc_resolver in LTO.
authorMartin Liska <mliska@suse.cz>
Mon, 27 Apr 2020 04:44:29 +0000 (06:44 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 27 Apr 2020 04:44:29 +0000 (06:44 +0200)
commitb9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea
treeb8eecc7d293ad6f280c5bae9ebf02e33880c390b
parentf6955089db6c3aa63c276704159ffad1ef15d256
Do not remove ifunc_resolver in LTO.

PR lto/94659
* cgraph.h (cgraph_node::can_remove_if_no_direct_calls_and_refs_p):
Do not remove ifunc_resolvers in remove unreachable nodes in LTO.
gcc/ChangeLog
gcc/cgraph.h