[testcase] ia64 retaddr elimination failure

Richard Henderson rth@redhat.com
Tue Jan 22 16:41:00 GMT 2002


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~



More information about the Gcc mailing list