• mmitchel's avatar
    * typeck.c (require_complete_type): Use complete_type_or_else. · 4bac4c68
    mmitchel authored
    	(complete_type_or_else): Always return NULL_TREE on failure, as
    	documented.
    	* pt.c (tsubst_aggr_type): Prototype.
    	(tsubst_decl): New function, split out from tsubst.  Set
    	input_filename and lineno as appropriate.
    	(pop_tinst_level): Restore the file and line number saved in
    	push_tinst_level.
    	(instantiate_class_template): Set input_filename and lineno as
    	appropriate.
    	(tsubst): Move _DECL processing to tsubst_decl.  Make sure the
    	context for a TYPENAME_TYPE is complete.
    	* decl2.c (grokbitfield): Issue errors on bitfields declared with
    	function type.
    	(do_dtors): As in do_ctors, pretend to be a member of the same
    	class as a static data member while generating a call to its
    	destructor.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21627 138bc75d-0d04-0410-961f-82ee72b054a4
    4bac4c68
pt.c 229 KB