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: [PATCH] __builtin_frame_address(0) doesn't work without the frame pointer


On Mon, Jul 08, 2002 at 11:26:27PM +0600, Denis Zaitsev wrote:
> 	* builtins.c (expand_builtin_frame_address): Fix: use
> 	frame_pointer_rtx vs. hard_frame_pointer_rtx.

You'll need to test more platforms before we can apply this.

The kind of platform you should look for is one in which the
soft frame pointer eliminates to the hard frame pointer with
an offset -- dunno off the top of my head which would be 
appropriate, but you should be able to get an idea by looking
at the target's INITIAL_ELIMINATION_OFFSET implementation.


r~


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