This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Memory leaks?


>   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.

> The only thing that kept egcs-1.1.2 under 200Mb was going down to -O1.
> Compilation time was around 12min (Pentium III/450MHz, 256Mb RAM), but
> hey, at least it worked :-).

Can you see if 2.95 or 2.95.1 is better?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]