* class.c (finish_struct): If we're a local class in a template
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Nov 1999 01:37:39 +0000 (01:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Nov 1999 01:37:39 +0000 (01:37 +0000)
commitb390827174f090f0e972305ab507b53718cdb5c2
tree67da42d593d4dbfeed5167b23b222f87b07b537b
parent5c65b85a72fcb0b8f92913cf8d8bdc2b013f9828
    * class.c (finish_struct): If we're a local class in a template
        function, add a TAG_DEFN.
        * pt.c (lookup_template_class): If this is a local class in a
        template function, call pushtag.
        (tsubst_expr, case TAG_DEFN): Handle classes, too.

        Emit debug info with the vtable.
        * search.c (maybe_suppress_debug_info): New function...
        * class.c (finish_struct_1): ...split out from here.
        * cp-tree.h: Declare it.
        * decl2.c (finish_vtable_vardecl): Override TYPE_DECL_SUPPRESS_DEBUG
        if we're writing out the vtable.
        * decl.c, search.c (dfs_debug_mark, dfs_debug_unmarked_p,
        note_debug_info_needed): #if 0 out.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30541 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/except.c
gcc/cp/pt.c
gcc/cp/search.c