This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49672] [C++0x] Internal error when passing variadic template args to a lambda function
- 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: Mon, 11 Jul 2011 21:03:53 +0000
- Subject: [Bug c++/49672] [C++0x] Internal error when passing variadic template args to a lambda function
- Auto-submitted: auto-generated
- References: <bug-49672-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49672
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-11 21:03:23 UTC ---
Author: jason
Date: Mon Jul 11 21:03:19 2011
New Revision: 176183
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176183
Log:
PR c++/49672
* pt.c (extract_fnparm_pack): Split out from...
(make_fnparm_pack): ...here.
(instantiate_decl): Handle non-pack parms after a pack.
* semantics.c (maybe_add_lambda_conv_op): Don't in a template.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c