This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/67318] [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Sep 10 15:36:54 2015
New Revision: 227650

URL: https://gcc.gnu.org/viewcvs?rev=227650&root=gcc&view=rev
Log:
/cp
2015-09-10  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67318
        * parser.c (cp_parser_parameter_declaration): Consume the ellipsis
        and set template_parameter_pack_p also when the type is null.

/testsuite
2015-09-10  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67318
        * g++.dg/cpp0x/variadic166.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic166.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]