This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Apr 2012 19:44:31 +0000
- Subject: [Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template
- Auto-submitted: auto-generated
- References: <bug-52824-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-13 19:44:31 UTC ---
Author: jason
Date: Fri Apr 13 19:44:27 2012
New Revision: 186436
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186436
Log:
PR c++/52824
* pt.c (any_pack_expanson_args_p): New.
(coerce_template_parms): Use it.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/variadic123.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/pt.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-15.C