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++/63786] crash on argument pack in switch case


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Nov 25 13:48:49 2014
New Revision: 218043

URL: https://gcc.gnu.org/viewcvs?rev=218043&root=gcc&view=rev
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic163.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]