[Bug c++/108887] [13 Regression] ICE in process_function_and_variable_attributes since r13-3601

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 7 20:07:26 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108887

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #3)
> I think we may get around with only turning the node back to non-declaration
> by calling n->reset()?

It seems I also need to n->remove_from_same_comdat_group().  Should reset() do
that?  What about all the other things that remove() does before actually
freeing the node?

Would setting n->type to SYMTAB_SYMBOL be a suitable way of marking it as dead?


More information about the Gcc-bugs mailing list