From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joern Rennecke To: chris@lslsun.epfl.ch (Christian Iseli) Cc: crux@Pool.Informatik.RWTH-Aachen.DE, pcg@goof.com, egcs@cygnus.com Subject: Re: question regarding asm() Date: Tue, 28 Oct 1997 10:25:00 -0000 Message-id: <199710281751.RAA05371@phal.cygnus.co.uk> References: <199710281607.RAA24080@lslsun17.epfl.ch> X-SW-Source: 1997-10/msg01191.html > resulting compiler produced slightly better code, but died a few times with the > "forbidden register was spilled" message. Most of the time, GCC was trying to > spill the (unneeded) frame pointer. I applied a small patch to tell reload that > it's OK to spill the FP when it is not needed and now I'm left with only a few You should rather use an extra hard register number for the frame pointer, and then eliminate this frame pointer either to the hard frame pointer or to the stack.