[Bug c++/48424] C++0x parameter packs expansion problem

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 26 13:25:00 GMT 2011


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



More information about the Gcc-bugs mailing list