c++/3728: Problems with multi-inheritence (or multi-derivation?)

khlebnikov@scnsoft.com khlebnikov@scnsoft.com
Wed Jul 18 08:56:00 GMT 2001


>Number:         3728
>Category:       c++
>Synopsis:       Problems with multi-inheritence (or multi-derivation?)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 18 08:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     g++
>Release:        gcc version 3.0 20010402 (Debian prerelease)
>Organization:
>Environment:
Pentium II 233 Mhz
Progeny Debian Linux 1.0
GCC:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-threads=posix --enable-long-long --enable-nls --without-x --without-included-gettext --disable-checking --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
gcc version 3.0 20010402 (Debian prerelease)
>Description:
$g++-3.0 -DMY_DEFINES -I../MY_INCLUDES -O0  -Wall -c -o somefile.o somefile.cpp
In file included from blah_blah_blah
include/someheader.h:11: Internal error #20010127.
include/someheader.h:11: Internal compiler error in build_rtti_vtbl_entries, 
   at cp/class.c:7801
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

This is similar to line 11 of the file "someheader.h":
class Class1: public Class2, virtual public Class 3 {

Sorry for not providing the source code. :(
I cannot do that because of my job contract.
If you wish, you can send some common quetions to me.
>How-To-Repeat:
Sorry, I don't know. :(
>Fix:
g++ version 2.95 (2.95.4 in Debian) compiles this ok.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list