This is the mail archive of the gcc-patches@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: [PATCH] mudflap: remove usage of builtin_frame_address





Hi,

I've found a discussion thread about that issue from 2002:
http://gcc.gnu.org/ml/gcc/2002-01/msg01420.html

In the answer you suggested builtin_frame_address to return
frame_pointer_rtx instead of hard_frame_pointer_rtx, which
sounds like a solution which would work for s390 too. But
the thread doesn't seem to end with a solution which came into gcc.
Do you remember whether and how that issue was solved?

rth (2002):
> 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.

Bye,

-Andreas-


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