This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] __builtin_frame_address(0) doesn't work without the frame pointer
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Denis Zaitsev <zzz at cd-club dot ru>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 09 Jul 2002 11:09:49 -0400
- Subject: Re: [PATCH] __builtin_frame_address(0) doesn't work without the frame pointer
>>>>> Richard Henderson writes:
Richard> You'll need to test more platforms before we can apply this.
Richard> The kind of platform you should look for is one in which the
Richard> soft frame pointer eliminates to the hard frame pointer with
Richard> an offset -- dunno off the top of my head which would be
Richard> appropriate, but you should be able to get an idea by looking
Richard> at the target's INITIAL_ELIMINATION_OFFSET implementation.
Sparc?
David