This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Emit debug info for block local externs from C (PR debug/39563, take 2)
On Mon, 30 Mar 2009, Jakub Jelinek wrote:
> 2009-03-30 Jakub Jelinek <jakub@redhat.com>
>
> PR debug/39563
> * c-decl.c (struct c_binding): Add locus field.
> (bind): Add locus argument, set locus field from it.
> (pop_scope): For b->nested VAR_DECL or FUNCTION_DECL,
> add a DECL_EXTERNAL copy of b->decl to current BLOCK_VARS.
> (push_file_scope, pushtag, pushdecl, pushdecl_top_level,
> implicitly_declare, undeclared_variable, lookup_label,
> declare_label, c_make_fname_decl, c_builtin_function,
> c_builtin_function_ext_scope, store_parm_decls_newstyle): Adjust
> bind callers.
This is OK.
--
Joseph S. Myers
joseph@codesourcery.com