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: [testcase] ia64 retaddr elimination failure


On Tue, Jan 22, 2002 at 01:22:41PM -0800, Geoff Keating wrote:
> Actually, what I expected is that if the routine has no frame pointer,
> then __builtin_frame_pointer(0) should either (a) fail, or (b) return
> the stack pointer which is what the frame pointer got eliminated to,
> and which is what we're actually accessing the frame with.  I think
> (b) is nicer.

I see no reason why __builtin_frame_pointer(0) doesn't just
return frame_pointer_rtx rather than the hard frame pointer.

Personally I think any mention of the hard frame pointer
before reload is dodgy at best, since we don't know if it
really exists or not.


r~


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