[Bug c++/108887] [13 Regression] ICE in process_function_and_variable_attributes since r13-3601
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 15:34:56 GMT 2023
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
More information about the Gcc-bugs
mailing list