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++/30298] [4.3/4.4/4.5/4.6 regression] ICE with duplicate broken inheritance



------- Comment #12 from paolo at gcc dot gnu dot org  2010-05-20 19:32 -------
Subject: Bug 30298

Author: paolo
Date: Thu May 20 19:31:47 2010
New Revision: 159637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159637
Log:
/cp
2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/30298
        * decl.c (xref_basetypes): Return false in case of ill-formed
        redefinition.

/testsuite
2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/30298
        * g++.dg/inherit/crash1.C: New.
        * g++.dg/inherit/crash2.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/crash1.C
    trunk/gcc/testsuite/g++.dg/inherit/crash2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298


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