• jason's avatar
    * decl.c (struct cp_function): Add named_label_uses. · d1c45f5d
    jason authored
    	(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
    d1c45f5d
pt.c 253 KB