This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: How can INITIAL_FRAME_POINTER_OFFSET be made correct?
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Joern Rennecke'" <joern dot rennecke at superh dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Fri, 19 Mar 2004 16:46:44 -0000
- Subject: RE: How can INITIAL_FRAME_POINTER_OFFSET be made correct?
> -----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....