re PR c++/49672 ([C++0x] Internal error when passing variadic template args to a...
authorJason Merrill <jason@redhat.com>
Mon, 11 Jul 2011 21:03:19 +0000 (17:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Jul 2011 21:03:19 +0000 (17:03 -0400)
commitebfefb41d9ba815813e222db19748bc7072eb240
treea2a6883ab203331d7177483d217b3c6aacd9e7d1
parentd983a802f660304ee850fac52388d698c5539d71
re PR c++/49672 ([C++0x] Internal error when passing variadic template args to a lambda function)

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.

From-SVN: r176183
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic1.C [new file with mode: 0644]