This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tree inlining and alloca
> Date: Fri, 22 Nov 2002 21:30:37 +0100 (CET)
> From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
> Cc: Jan Hubicka <jh@suse.cz>, "" <gcc-patches@gcc.gnu.org>
> X-OriginalArrivalTime: 22 Nov 2002 20:30:18.0078 (UTC) FILETIME=[F8A60FE0:01C29265]
>
> On Sat, 16 Nov 2002, Geoff Keating wrote:
> >> I've just noticed that my callgraph inlinig patch causes SPEC2000 GCC
> >> to require 2GB of memory instead of 256MB it required previously. The
> >> reason is that function that does use alloca got inlined so the alloca
> >> blocks are not garbagecollected as the programmer intended and we
> >> allocate O(n^4) instead of O(n^2) memory!
> >> [...]
> >> Bootstrap/regtesting on mainline in progress. OK if it passes?
> >> What about 3.2 branch?
> > OK for mainline. I think 3.2 branch is closed.
>
> No longer. ;-)
>
> Is Jan's patch fine for 3.2.2?
Yes. It's a regression and the patch is in mainline.
--
- Geoffrey Keating <geoffk@geoffk.org>