[PATCH] builtin_frame_address(0) and omit-frame-pointer

Richard Henderson rth@redhat.com
Tue Jan 18 05:17:00 GMT 2005


On Mon, Jan 17, 2005 at 02:48:32PM +0100, Andreas Krebbel wrote:
> 	* gcc/builtins.c (expand_builtin_return_addr): Remove tem parameter.
> 	tem becomes a local variable which is set to the value of the 
> 	back end defined INITIAL_FRAME_ADDRESS macro.
> 	(expand_builtin_frame_address): Omit the base parameter to 
> 	expand_builtin_return_addr.
> 	* config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Define new macro.
> 	(DYNAMIC_CHAIN_ADDRESS): Remove the case for the initial frame.

You'll need documentation for the new macro, but otherwise
it looks plausible.


r~



More information about the Gcc-patches mailing list