OSDN Git Service

* dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Nov 1999 00:13:51 +0000 (00:13 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Nov 1999 00:13:51 +0000 (00:13 +0000)
commit5c65b85a72fcb0b8f92913cf8d8bdc2b013f9828
tree9aeae364af652309cab1200a2c135753c48d65bc
parent84fb9e97b01c8b1508d8142466c3876d0509ae60
    * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
        notion of nesting to find the DIE for a type or function.
        DIEs can go in limbo even if we got a context_die.
        (push_decl_scope): Our context doesn't need to be in decl_scope_table.
        (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
        for local type.
        (gen_decl_die): Ignore NAMESPACE_DECLs for now.
        (gen_type_die): Writing out the context doesn't cause member class
        template instantiations to be written out as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30540 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c