[Bug debug/39563] C block scopes have no DW_TAG_lexical_block

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 30 14:35:00 GMT 2009



------- Comment #7 from jakub at gcc dot gnu dot org  2009-03-30 14:35 -------
Subject: Bug 39563

Author: jakub
Date: Mon Mar 30 14:35:03 2009
New Revision: 145293

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145293
Log:
        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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39563



More information about the Gcc-bugs mailing list