This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67318] [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Sep 2015 15:37:25 +0000
- Subject: [Bug c++/67318] [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration
- Auto-submitted: auto-generated
- References: <bug-67318-4 at http dot gcc dot gnu dot org/bugzilla/>
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