This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] PR c++/27574 (PING)
Jan Hubicka a écrit :
The reason for setting DECL_INITIAL there was that BLOCK pointers used
to point to generic function body that remained in memory.
I think it is not needed at all and might not be the case anymore, so it
might be fine.
Yeah, it looks like it's not needed.
Still blocks occupy quite a lot of ram, can dwarf2out be
in charge of releasing them?
You mean, you'd want dwarf2out to set the DECL_INITIAL (decl) to
error_mark_node after emitting the debug info ? I certainly could do
that, assuming that does not go against the spirit of dwarf2out.