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++/81257] [8 Regression] ICE on invalid C++ template code: in make_typename_type, at cp/decl.c:3709


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 30 21:08:53 2017
New Revision: 249855

URL: https://gcc.gnu.org/viewcvs?rev=249855&root=gcc&view=rev
Log:
        PR c++/81257 - ICE with invalid ::template.

        PR c++/54769 - wrong lookup of dependent template-name.
        * parser.c (cp_parser_template_name): Revert part of last change.

Added:
    trunk/gcc/testsuite/g++.dg/parse/template-keyword1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c

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