aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorMark Mitchell <mmitchell@usa.net>1998-04-22 21:02:01 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-04-22 21:02:01 +0000
commitdb2767b644667cdb0beefc7c98c643e605512405 (patch)
tree9f38d9c184acc8ee76a7f015f6616c5329af210d /gcc/libgcc2.c
parent693e265fc07aa9119906a3ed03318599ae6b5bc5 (diff)
downloadgcc-db2767b644667cdb0beefc7c98c643e605512405.zip
gcc-db2767b644667cdb0beefc7c98c643e605512405.tar.gz
gcc-db2767b644667cdb0beefc7c98c643e605512405.tar.bz2
pt.c (tsubst): Decrease the template-level of TEMPLATE_TEMPLATE_PARMS.
* pt.c (tsubst): Decrease the template-level of 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. From-SVN: r19378
Diffstat (limited to 'gcc/libgcc2.c')
0 files changed, 0 insertions, 0 deletions