[Bug c++/77339] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu: in cp_parser_type_name, at cp/parser.c:16532

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 24 14:40:00 GMT 2017


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar 24 14:40:13 2017
New Revision: 246462

URL: https://gcc.gnu.org/viewcvs?rev=246462&root=gcc&view=rev
Log:
        PR c++/77339 - ICE with invalid use of alias template.

        * pt.c (lookup_template_class_1): Don't try to enter the scope of an
        alias template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-58.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list