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++/58535] [4.8/4.9 Regression] ICE with virtual template function


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct  2 18:25:55 2013
New Revision: 203123

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

    PR c++/58535
    * parser.c (cp_parser_function_specifier_opt): Upon error about
    virtual templates don't set ds_virtual.
    (finish_fully_implicit_template): Reject virtual implicit templates.

/testsuite
2013-10-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58535
    * g++.dg/parse/crash65.C: New.
    * g++.dg/cpp1y/pr58535.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr58535.C
    trunk/gcc/testsuite/g++.dg/parse/crash65.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]