Compiler segfaults in simple virtual inheritance situation. If inheritance is changed to non-virtual then code compiles correctly. Also code compiles correctly if seemingly irrelevant bits of code are removed.
No headers are required for the code to trigger the bug and none are provided. -- Summary: Compiler segfaults in simple virtual inheritance situation Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: v dot lesk at ic dot ac dot uk GCC build triplet: i586-mandriva-linux-gnu GCC host triplet: i586-mandriva-linux-gnu GCC target triplet: i586-mandriva-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31027