[Bug c++/47022] [4.6 Regression] ICE: in tsubst_copy, at cp/pt.c:11682
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 7 11:55:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47022
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-07 11:49:49 UTC ---
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
More information about the Gcc-bugs
mailing list