This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for global.c
- To: mark at markmitchell dot com
- Subject: Re: PATCH for global.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 12 Dec 1998 22:07:46 -0700
- cc: rth at cygnus dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199812112122.NAA27623@adsl-206-170-148-33.dsl.pacbell.net>
> you write:
> Richard> Out of curiosity, what was max_allocno in this function?
> Richard> I'm wondering if continuing to use alloca is appropriate.
>
> About 1100, IIRC. I thought about this; I'm sure that using alloca is
> *not* appropriate in most of the places we use it, but I didn't see a
> *compelling* reason to change it here, as opposed to anywhere else.
>
> I'm taking your sanity diagnosis as approval and checking in my patch.
> Thanks!
Removing many alloca uses is also on the hit list.
We know that 8M allocations are not suitable for alloca :-) That's where many
systems blow up.
Anything approaching a meg is (IMHO) not suitable for alloca.
jeff