[Bug c++/54440] [c++11] g++ prematurely applying rule that a template parameter pack cannot be followed by a template parameter

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 25 19:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54440

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jul 25 19:10:41 2016
New Revision: 238731

URL: https://gcc.gnu.org/viewcvs?rev=238731&root=gcc&view=rev
Log:
        PR c++/71833 - member template with two parameter packs

        PR c++/54440
        * pt.c (coerce_template_parameter_pack): Fix logic for
        pack index.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-nested1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list