Thread View: gnu.g++.bug
1 messages
1 total messages
Started by "Douglas C. Schmidt"
Thu, 26 Jan 1989 05:39
g++ 1.32 gets failed assertion
Author: "Douglas C. Schmidt"
Date: Thu, 26 Jan 1989 05:39
Date: Thu, 26 Jan 1989 05:39
38 lines
1358 bytes
1358 bytes
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
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