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++/67257] [5/6 regression] Internal compiler error in retrieve_specialization


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Dec 22 21:46:44 2015
New Revision: 231913

URL: https://gcc.gnu.org/viewcvs?rev=231913&root=gcc&view=rev
Log:
        PR c++/67257
        * parser.c (cp_parser_single_declaration): Reject a class template
        that also declares a variable.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn28.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/g++.dg/cpp0x/pr51226.C

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]