This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: purify experiments
- To: egcs at cygnus dot com, Joe Buck <jbuck at synopsys dot com>
- Subject: Re: purify experiments
- From: Jason Merrill <jason at cygnus dot com>
- Date: 01 Oct 1997 19:53:36 -0700
- References: <199709301804.LAA29425@atrus.synopsys.com><u9en662q1i.fsf.cygnus.egcs@yorick.cygnus.com>
>>>>> Jason Merrill <jason@cygnus.com> writes:
> OK, never mind again. I fixed the obstacks that weren't being freed, and
> that saved an entire 16 bytes out of 13 megs.
I fixed it better, and it now saves about a meg (in both egcs and devo).
> Which is the other interesting point: devo gcc (from the internal Cygnus
> sources) takes 13 megs to compile your smaller testcase, while egcs takes
> 41 megs (both with -O -fno-exceptions). The C++ frontend is identical,
> so it must be a backend problem.
Each of the inline maybepermanent_obstacks seems to take up a lot more
space with egcs:
inline obstacks: 199 obstacks, 21738336 bytes
vs.
inline obstacks: 199 obstacks, 3430016 bytes
That's quite a difference. Hmm....
Jason