Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Nikolay Yatsenko
Fri, 29 Jan 1993 03:14
g++ bug
Author: Nikolay Yatsenko
Date: Fri, 29 Jan 1993 03:14
Date: Fri, 29 Jan 1993 03:14
39 lines
1891 bytes
1891 bytes
g++ (gcc 2.3.3, sparc) failed on this file with internal compiler error.
/////////////////// Input file /////////////////////////////////////////
//
struct B {
int b;
virtual int f() {return 0;}
};
struct C {int c;};
struct E : C {};
struct B1 : virtual B {};
struct B2 : virtual B1{};
struct B4 : C, B1 {};
struct D3 : E , B4, B2 { int f() {return 3;} };
int main(void)
{
D3 d; // Internal compiler error 211 here.
return 0;
}
///////////////// end of input file ////////////////////////////////
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/specs
gcc version 2.3.3
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix multbaseb2.C /usr/tmp/cca27108.i
GNU CPP version 2.3.3 (sparc)
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cc1plus /usr/tmp/cca27108.i -quiet -dumpbase multbaseb2.cc -version -o /usr/tmp/cca27108.s
GNU C++ version 2.3.3 (sparc) compiled by GNU C version 2.3.3.
multbaseb2.C: In function `int main ()':
multbaseb2.C:20: warning: internal consistency check failed, please report, recovering.
multbaseb2.C:20: cannot convert a pointer of type `D3'
multbaseb2.C:20: to a pointer of type `B1'
multbaseb2.C:20: Internal compiler error 211.
multbaseb2.C:20: Please report this to `bug-g++@prep.ai.mit.edu'.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads