This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48424] C++0x parameter packs expansion problem
- 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: Thu, 26 May 2011 13:22:58 +0000
- Subject: [Bug c++/48424] C++0x parameter packs expansion problem
- Auto-submitted: auto-generated
- References: <bug-48424-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48424
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-26 13:22:54 UTC ---
Author: jason
Date: Thu May 26 13:22:51 2011
New Revision: 174285
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174285
Log:
PR c++/48424
* decl.c (grokparms): Function parameter packs don't need to
go at the end.
* pt.c (type_unification_real): But they aren't deduced otherwise.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic111.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/variadic41.C