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++/70202] ICE on invalid code on x86_64-linux-gnu in build_simple_base_path, at cp/class.c:579


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.carlini@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.carlini@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

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