re PR c++/63786 (crash on argument pack in switch case)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 25 Nov 2014 13:48:49 +0000 (13:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 25 Nov 2014 13:48:49 +0000 (13:48 +0000)
commita959b33fc4a5b4dffc55d5c7f105dc1096a75b42
treede0c85cbfbe8be1d06389a2c87f3069c2cb1898f
parent43ba1c6c3e34491f68ecb02973928c218790c66c
re PR c++/63786 (crash on argument pack in switch case)

/cp
2014-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/63786
* parser.c (cp_parser_label_for_labeled_statement): Check the case
with check_for_bare_parameter_packs.

/testsuite
2014-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/63786
* g++.dg/cpp0x/variadic163.C: New.

From-SVN: r218043
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic163.C [new file with mode: 0644]