This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47022] [4.6 Regression] ICE: in tsubst_copy, at cp/pt.c:11682
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 7 Jan 2011 11:49:55 +0000
- Subject: [Bug c++/47022] [4.6 Regression] ICE: in tsubst_copy, at cp/pt.c:11682
- Auto-submitted: auto-generated
- References: <bug-47022-4@http.gcc.gnu.org/bugzilla/>
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