re PR c++/84605 (internal compiler error: in xref_basetypes, at cp/decl.c:13818)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 4 Mar 2019 23:49:23 +0000 (23:49 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 4 Mar 2019 23:49:23 +0000 (23:49 +0000)
commitb65e6a997761f03fe84ebe837201c51fe8bc2e2f
treea01482fe5fb526b640a1522087b39934b0b6b2c5
parent94014ee95b2594859168baac31da4c846a256807
re PR c++/84605 (internal compiler error: in xref_basetypes, at cp/decl.c:13818)

/cp
2019-03-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84605
* parser.c (cp_parser_class_head): Reject TYPE_BEING_DEFINED too.

/testsuite
2019-03-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84605
* g++.dg/parse/crash69.C: New.

From-SVN: r269378
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash69.C [new file with mode: 0644]