This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: A recent patch increased GCC's memory consumption in some cases!
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Jan Hubicka" <jh at suse dot cz>
- Cc: gcctest at suse dot de, gcc-patches at gcc dot gnu dot org, richi at suse dot de, gcc-regression at gcc dot gnu dot org
- Date: Fri, 7 Apr 2006 14:30:38 +0200
- Subject: Re: A recent patch increased GCC's memory consumption in some cases!
- References: <443432E8.mail5K1EGF5I@suse.de> <20060407114807.GA14598@kam.mff.cuni.cz>
On 4/7/06, Jan Hubicka <jh@suse.cz> wrote:
> >
> > comparing Gerald's testcase PR8361 compilation at -O1 level:
> > Overall memory allocated via mmap and sbrk increased from 108456k to 144940k, overall 33.64%
> > Peak amount of GGC memory allocated before garbage collecting increased from 95144k to 132081k, overall 38.82%
> > Peak amount of GGC memory still allocated after garbage collectin increased from 93152k to 97084k, overall 4.22%
> > Amount of produced GGC garbage decreased from 559402k to 471302k, overall -18.69%
>
> Hi,
> this is caused by early inlining finally being effective after Richard's
> patch, but not collecting garbage. Bootstrapped/regtested x86_64-linux
> and comitted.
For 4.1.1, too I suggest.
Richard.