gcc/gcc/cp error.c pt.c

nathan@gcc.gnu.org nathan@gcc.gnu.org
Mon Mar 24 20:40:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2003-03-24 20:40:26

Modified files:
	gcc/cp         : error.c pt.c 

Log message:
	Changelog commit escaped earlier
	cp:
	PR c++/10119
	* error.c (dump_expr) [BASELINK]: Use dump_expr.
	* pt.c (maybe_fold_nontype_args): New function.
	(tsubst_copy) [SCOPE_REF]: Subst any template_id args.
	[TEMPLATE_ID_EXPR]: Break out folding code, call it.
	(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Call
	maybe_fold_nontype_args.
	testsuite:
	PR c++/10119
	* g++.dg/template/ptrmem5.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&r1=1.201&r2=1.202
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.674&r2=1.675



More information about the Gcc-cvs mailing list