This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in local spilling code
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>, Richard Henderson <rth at cygnus dot com>
- Subject: Re: Bug in local spilling code
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 29 Oct 1998 15:04:45 -0800
- Cc: Jeffrey A Law <law at cygnus dot com>, gcc-local at cygnus dot com, egcs-patches at cygnus dot com
- References: <19981026125206.B24523@dot.cygnus.com> <Pine.GSO.4.02A.9810281035400.6834-100000@matlock.informatik.rwth-aachen.de>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Wed, Oct 28, 1998 at 10:48:09AM +0100, Bernd Schmidt wrote:
> WIth this patch, the actual nonlocal goto performs better, but the setup
> overhead in the function containing the nonlocal label is increased.
> Functions that only contain one or two nonlocal labels should benefit from
> this change; this is less likely for functions that have more such labels.
We can reduce that by not tucking those labels into memory. That also
gives us the oppurtunity to turn them into direct jumps on those machines
that can jump "arbitrarily" far.
BTW, anyone ever notice that nonlocal goto and alloca can not coexist?
This isn't new to your patch, and I don't know that we care so very
deeply. Certainly I can't think of a nice way around it.
r~