[Bug c++/67339] [5/6 Regression] Segfault when parsing a typename involving a template-alias

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 22 21:49:00 GMT 2015


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

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

URL: https://gcc.gnu.org/viewcvs?rev=231916&root=gcc&view=rev
Log:
        PR c++/67339
        * parser.c (cp_parser_elaborated_type_specifier): Use CLASS_TYPE_P
        rather than check for RECORD_TYPE.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-pmf1.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/parser.c


More information about the Gcc-bugs mailing list