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
Created attachment 5537 [details] Source file to recreate the bug
This works for me with 3.2.3, 3.3.3-pre, and 3.4 of last week. Maybe someone with a debian box can verify. W.
Confirmed bug with stock 3.3.2 build. Must've been fixed since on branch and mainline.