This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/26754
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Jun 2006 12:51:14 -0700
- Subject: Re: [PATCH] Fix PR debug/26754
- References: <200605132336.47018.ebotcazou@adacore.com> <200606122114.25865.ebotcazou@adacore.com>
Eric Botcazou wrote:
> 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
>
> PR debug/26754
> * gimplify.c (declare_tmp_vars): Rename into declare_vars.
> Add debug_info parameter. Chain the vars to the BLOCK instead
> of the BIND_EXPR if debug info are requested for them.
> (pop_gimplify_context): Adjust for above change.
> (gimple_add_tmp_var): Likewise.
> * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
> Add bool parameter.
> * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
> (convert_local_reference): Likewise.
> (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
> (finalize_nesting_tree_1): Request that debug info be emitted
> for debug_var_chain.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713