This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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....



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]