This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Memory leaks?
- To: jbuck@synopsys.COM (Joe Buck)
- Subject: Re: Memory leaks?
- From: Joern Rennecke <amylaar@cygnus.co.uk>
- Date: Wed, 1 Sep 1999 02:05:07 +0100 (BST)
- Cc: tudor.hulubei@data.ecora.com, mrs@wrs.com, gcc@gcc.gnu.org
> > On Tuesday, 31 August 1999, Mike Stump wrote:
> > > Don't inline. I think you will find the problem goes away.
> >
> > You mean removing -finline-functions? It didn't work.
>
> Actually -O3 turns on inlining even of functions that aren't marked
> inline.
>
> > I removed all the flags except -O3. That alone made cc1plus go to
> > almost 600Mb, when I decided to stop it. Same with -O2.
>
> I don't know why -O2 would be so large.
maybe it's -fcse-follows-jumps -fcse-skip-blocks ? These are enabled
by default by -O2. You can disable them with the corresponding -fno-
options.