This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50618] New: Virtual inheritance segfault
- From: "tomboshoven at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Oct 2011 20:11:26 +0000
- Subject: [Bug c++/50618] New: Virtual inheritance segfault
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: tomboshoven@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.