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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Jun  4 07:10:58 2016
New Revision: 237089

URL: https://gcc.gnu.org/viewcvs?rev=237089&root=gcc&view=rev
Log:
/cp
2016-06-04  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/70202
        * parser.c (cp_parser_class_head): When xref_basetypes fails and
        emits an error do not zero the type.

/testsuite
2016-06-04  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/70202
        * g++.dg/inherit/crash5.C: New.
        * g++.dg/inherit/virtual1.C: Adjust.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/crash5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/inherit/virtual1.C

Reply via email to