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, DWARF] re-init dw_frame_pointer_regnum between functions


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~


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