Memory leaks?
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Tue Aug 31 23:20:00 GMT 1999
> The leaks seem to be mostly from obstack allocations in make_node().
> My question is whether or not cc1plus deallocates everything upon exit
> or leaves it there knowing that the kernel will do it anyway, because
> in the latter case the leaks reported by my memory watchdog tool are
> totally useless.
It is the latter. Things on the permanent obstack are never released.
I believe there is some obstack diagnosis in gcc itself.
Regards,
Martin
More information about the Gcc
mailing list