This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] __builtin_frame_address(0) doesn't work without the frame pointer
- From: Richard Henderson <rth at redhat dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: David Edelsohn <dje at watson dot ibm 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: Wed, 10 Jul 2002 07:32:14 -0700
- Subject: Re: [PATCH] __builtin_frame_address(0) doesn't work without the frame pointer
- References: <200207091509.LAA30178@makai.watson.ibm.com> <200207091711.SAA07206@cam-mail2.cambridge.arm.com>
On Tue, Jul 09, 2002 at 06:11:17PM +0100, Richard Earnshaw wrote:
> ARM certainly does. But that has special code to copy the return address
> for frame 0 into a pseudo if the return address is needed.
We're talking about __builtin_frame_address, not
__builtin_return_address.
r~