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: gcc.c-torture/execute/frame-address.c


On Mon, Aug 29, 2005 at 04:46:14PM +0100, Maciej W. Rozycki wrote:
>  I can't check what __builtin_frame_address(0) returns in this case for 
> this target -- is it the frame address of the caller?  If so, then the 
> change is legitimate indeed.  Thanks for the fix.

I get the caller's frame minus 48.  Is __builtin_frame_address(0) well
defined for functions without a frame?  I agree that returning the
caller's frame probably makes sense, but is this worth fixing?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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