[Bug c++/49672] [C++0x] Internal error when passing variadic template args to a lambda function

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 11 21:04:00 GMT 2011


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



More information about the Gcc-bugs mailing list