schmidt%glacier.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt") (01/08/89)
Hi, The following program gets a failed assertion message from g++ 1.32 on the sparc: ---------------------------------------- class Base { int z; public: int d, e; }; class Derived : Base { int a, b, c; public: Base::d; // error here }; main() { Derived y; y.d =1; } ---------------------------------------- g++ version 1.32.0 /usr/public/lib/g++/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix bugger.cc /tmp/cca04809.cpp GNU CPP version 1.32 /usr/public/lib/g++/gcc-c++ /tmp/cca04809.cpp -quiet -dumpbase bugger.cc -noreg -version -o /tmp/cca04809.s GNU C++ version 1.32.0 (sparc) compiled by GNU C version 1.32. Failed assertion 0 at line 850 of `cplus-search.c'. /usr/public/g++: Program c++ got fatal signal 6. ---------------------------------------- Doug
schmidt%siam.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt") (01/26/89)
The following program kills g++ 1.32: ------------------------------ class S { public: int i; int j; }; class T : public S { private: S::i; }; main () { T i; i.i = 10; } ------------------------------ Here's the diagnostic: ---------------------------------------- g++ version 1.32.0 /usr/public/lib/g++/gcc-cpp -+ -v -I/cd/ua/schmidt/include/ -undef -D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix test.c /tmp/cca18237.cpp GNU CPP version 1.33 /usr/public/lib/g++/gcc-c++ /tmp/cca18237.cpp -quiet -dumpbase test.c -fstrength-reduce -finline-functions -fmemoize-lookups -fsave-memoized -fchar-charconst -version -o /tmp/cca18237.s GNU C++ version 1.32.0 (sparc) compiled by GNU C version 1.33. Failed assertion 0 at line 846 of `cplus-search.c'. /usr/public/g++: Program c++ got fatal signal 6. ---------------------------------------- Doug