http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50618
Bug #: 50618 Summary: Virtual inheritance segfault Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: tombosho...@gmail.com Created attachment 25417 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25417 A small program using multiple inheritance, segfaults when run. Affected GCC Versions: 4.6.1 20110819 (prerelease) (Arch Linux package) 4.5.3 (Compiled using Arch defaults, --march=core2) Both x64. GCC 4.2 does not seem to be affected. The attached source code, when compiled without any additional flags, segfaults when executed. The segfault occurs within the ostream. I tried to further minimize the code, but all components of this code seem to be required.