This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] builtin_frame_address(0) and omit-frame-pointer
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Krebbel <krebbel1 at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, rsandifo at redhat dot com
- Date: Mon, 17 Jan 2005 21:17:30 -0800
- Subject: Re: [PATCH] builtin_frame_address(0) and omit-frame-pointer
- References: <20050117134832.GA3349@de.ibm.com>
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~