* decl.c (struct cp_function): Add named_label_uses.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Nov 1998 19:24:43 +0000 (19:24 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Nov 1998 19:24:43 +0000 (19:24 +0000)
commitd1c45f5df6ba156f4816e9fce9d0db1a5bc3e6c7
treed52e9ad4f9e03949fb8a6ac2190c3669dde51a01
parentc19f7f3317cf0aa1ddb974525e0515dded92f06d
* decl.c (struct cp_function): Add named_label_uses.
(push_cp_function_context): Save it.
(pop_cp_function_context): Restore it.
(define_label): Also complain about jumping into the scope of
non-POD objects that don't have constructors.
* tree.c (pod_type_p): New fn.
Fixes g++.other/init9.C
* pt.c (instantiate_class_template): Clear TYPE_BEING_DEFINED sooner.
* rtti.c (synthesize_tinfo_fn): Call import_export_decl here.
(get_tinfo_fn): Not here.
* repo.c (repo_get_id): Abort if we get called for an incomplete
type.
Fixes g++.pt/instantiate4.C

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23667 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/repo.c
gcc/cp/rtti.c
gcc/cp/tree.c