This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, DWARF] re-init dw_frame_pointer_regnum between functions
- From: Richard Henderson <rth at redhat dot com>
- To: Christian Bruel <christian dot bruel at st dot com>, Cary Coutant <ccoutant at google dot com>, Jason Merrill <jason at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, richard dot earnshaw at arm dot com
- Date: Tue, 14 Oct 2014 11:25:00 -0700
- Subject: Re: [PATCH, DWARF] re-init dw_frame_pointer_regnum between functions
- Authentication-results: sourceware.org; auth=none
- References: <543D1EEE dot 5070903 at st dot com>
On 10/14/2014 06:02 AM, Christian Bruel wrote:
> 2014-09-23 Christian Bruel <christian.bruel@st.com>
>
> * execute_dwarf2_frame (dw_frame_pointer_regnum): Reinitialize for each function.
It's tempting to make this a local variable within dwarf2out_frame_debug_expr
and not try to cache it at all.
But this is ok.
r~