https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64988
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> --- And concerning Jakub's question, get_alias_target will ICE when the target does not exist :) This can be the case during function removal that use dissolve_comdat_group. But it is also the case of weakref that does not have external declaration and during callgraph construction.