How can INITIAL_FRAME_POINTER_OFFSET be made correct?
Dave Korn
dk@artimi.com
Fri Mar 19 17:55:00 GMT 2004
> -----Original Message-----
> From: Joern Rennecke
> Sent: 19 March 2004 15:59
> To: Dave Korn
> > There's a bit of a problem, however.
> regs_ever_live[LINK_REGNUM] is
> > zero when INITIAL_FRAME_POINTER_OFFSET is called, but something has
> > set it to one by the time we get to the emit prologue
> function. The
> > result is that the two of them disagree about the size and
> layout of
> > my stackframes, and I get a lot of FAILs in the varargs tests.
>
> Is LINK_RENUM eliminable, or can something else be eliminated to it?
There is no ELIMINABLE_REGS definition, but FRAME_POINTER_REQUIRED is zero
so gcc can do its default eliminate-lr-vs-sp.
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Gcc
mailing list