This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class
- From: "stuart at personalrobots dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2004 18:04:15 -0000
- Subject: [Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
We have a code example with a complex virtual inheritance hierarchy - it has
worked with previous gcc, 3.0 and above, but after installing Fedora the code
crashes. It appears that a pointer gets cleared for no apparent reason and this
causes the crash. We have managed to reproduce the crash with the short file
that I will attach.
Gcc version:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Compile line is:
mini: mini.cc
g++ -o mini mini.cc -lstdc++
System is Fedora core 1:
Linux aethon.com 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686
i386 GNU/Linux
--
Summary: Member variable cleared in virtual multiple inheritance
class
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stuart at personalrobots dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13774