Memory leaks in compiler

Ross Ridge rridge@csclub.uwaterloo.ca
Thu Jan 17 16:32:00 GMT 2008


Diego Novillo wrote:
>I agree.  Freeing memory right before we exit is a waste of time.

Dave Korn writes:
> So, no gcc without an MMU and virtual memory platform ever again?
>Shame, it used to run on Amigas.

I don't know if GCC ever freed all of its memory before exiting.
An operating system doesn't need an MMU or virtual memory in order to
free all the memory used by a process when it exits.  MS-DOS did this,
and I assume AmigaOS did as well.

						Ross Ridge



More information about the Gcc mailing list