https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:b9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea commit r10-7982-gb9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea Author: Martin Liska <mli...@suse.cz> Date: Mon Apr 27 06:44:29 2020 +0200 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.