================================== union A {}; struct B : A {}; struct B : A {}; ==================================
bug.cc:3: error: base type 'A' fails to be a struct or class type bug.cc:4: internal compiler error: in xref_basetypes, at cp/decl.c:9865 Please submit a full bug report, [etc.] -- Summary: [4.2/4.3 regression] ICE with duplicate broken inheritance Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30298