dwarf2out.c (scope_die_for): Only handle types.
authorJason Merrill <jason@casey.cygnus.com>
Wed, 1 Dec 1999 01:48:02 +0000 (01:48 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 1 Dec 1999 01:48:02 +0000 (20:48 -0500)
commit777ad4c21f744ae353c2ee440c61ef7600174823
tree7ea2b8691dfd3142330085dd3c9b9d7098f2ebce
parentd94656872ddd8c58776576c370d6e174ab6662f4
dwarf2out.c (scope_die_for): Only handle types.

        * dwarf2out.c (scope_die_for): Only handle types.  Only search for
        containing types.
        (decl_scope_table): Just an array of trees now.
        (push_decl_scope): Simplify.
        (dwarf2out_init): Adjust.
        (local_scope_p): New fn.
        (gen_inlined_enumeration_type_die): Don't call scope_die_for.
        (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
        (gen_typedef_die): Likewise.
        (gen_lexical_block_die): Don't call push/pop_decl_scope.
        (gen_inlined_subroutine_die): Likewise.
        (gen_abstract_function): Set current_function_decl temporarily.
        (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
        Handle block extern declarations.  Don't call push/pop_decl_scope.
        (gen_decl_die): Fix logic for block externs.

From-SVN: r30733
gcc/ChangeLog
gcc/dwarf2out.c