• mmitchel's avatar
    * pt.c (tsubst): Decrease the template-level of · f4797a74
    mmitchel authored
    	 TEMPLATE_TEMPLATE_PARMS.  Likewise for the DECL_INITIAL of a
    	 TEMPLATE_PARM_INDEX.
    	 (template_decl_level): New function.
    	 (unify): Make sure to record unifications for template
    	 parameters, even when the parameters exactly match the arguments.
    	 Combine duplicated code for TEMPLATE_TEMPLATE_PARMs and
    	 TEMPLATE_TYPE_PARMS.  Don't try to unify template parameters that
    	 aren't from the level we're currently working on.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19378 138bc75d-0d04-0410-961f-82ee72b054a4
    f4797a74
ChangeLog 317 KB