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++/59120] [c++11] ICE with invalid template alias


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Apr 28 12:32:06 2014
New Revision: 209857

URL: http://gcc.gnu.org/viewcvs?rev=209857&root=gcc&view=rev
Log:
/cp
2014-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/59120
    * parser.c (cp_parser_alias_declaration): Check return value of
    cp_parser_require.

/testsuite
2014-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/59120
    * g++.dg/cpp0x/alias-decl-43.C: New.

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