https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108887
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- We don't really have way to mark nodes for removal. I am not 100% sure I understand what the code does, but removing random nodes from cgraph in hook invoked from mangling seems dangerous, since we invoke DECL_ASSEMBLER_NODE quite randomly. I think we may get around with only turning the node back to non-delcaration by calling n->reset()? Honza