https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108887
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Also, reset() is only defined in cgraph_node, and I need it to work on both functions and variables. Clearing n->type seems to confuse things that expect all symbols to be either function or variable.