This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Memory leaks in compiler
- From: rridge at csclub dot uwaterloo dot ca (Ross Ridge)
- To: gcc at gcc dot gnu dot org
- Date: Thu, 17 Jan 2008 11:08:25 -0500 (EST)
- Subject: RE: Memory leaks in compiler
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