• mmitchel's avatar
    * decl.c (duplicate_decls): Always merge the old and new patterns · a072266a
    mmitchel authored
    	for templates, regardless of whether or not the new one has
    	DECL_INITIAL.  Don't throw away specializations.  Merge
    	DECL_SAVED_TREE.
    	* pt.c (tsubst_decl): Use the right pattern when calculating the
    	complete args for a new template instance.
    	(do_decl_instantiation): Fix typo in comment.
    	(regenerate_decl_from_template): Deal with tricky friend template
    	case.
    	(instantiate_decl): Likewise.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21876 138bc75d-0d04-0410-961f-82ee72b054a4
    a072266a
pt.c 232 KB