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: [PATCH] builtin_frame_address(0) and omit-frame-pointer


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~


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