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++/34892] [4.6/4.7/4.8 regression] ICE with ellipsis in default template argument


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34892

--- Comment #11 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-10-25 09:12:30 UTC ---
Author: paolo
Date: Thu Oct 25 09:12:22 2012
New Revision: 192802

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192802
Log:
/cp
2012-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/34892
    * parser.c (cp_parser_template_parameter): When
    cp_parser_parameter_declaration parsed a default argument don't
    see if *is_parameter_pack needs setting.

/testsuite
2012-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/34892
    * g++.dg/template/crash114.C: New.

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