This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168564 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 07 Jan 2011 11:49:46 -0000
- Subject: r168564 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
Author: jakub
Date: Fri Jan 7 11:49:44 2011
New Revision: 168564
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168564
Log:
PR c++/47022
* pt.c (tsubst_copy_and_build): Use tsubst instead of tsubst_copy
for the second build_x_va_arg argument.
* g++.dg/template/stdarg1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/stdarg1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog