Thread View: gnu.g++.bug
1 messages
1 total messages
Started by "Douglas C. Schmidt"
Mon, 03 Oct 1988 22:08
g++ 1.27 gets fatal signal on sparc
Author: "Douglas C. Schmidt"
Date: Mon, 03 Oct 1988 22:08
Date: Mon, 03 Oct 1988 22:08
30 lines
1291 bytes
1291 bytes
Howdy,
The following short program kills 1.27 running on Sparc.
----------------------------------------
class String {
public:
String(char *S) {
;
}
friend String& operator &(String& S1,char *S2) {
;
}
};
main() {
String Foo = "A";
String Foobar = Foo & "B";
}
----------------------------------------
g++ version 1.27.0
echo use .cc filename extension!
use .cc filename extension!
/usr/public/lib/g++/gcc-cpp+ -v -I/cd/ua/schmidt/include/ -undef -D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix test.C /tmp/cca19086.cpp
GNU CPP version 1.27.0
/usr/public/lib/g++/gcc-c++ /tmp/cca19086.cpp -quiet -dumpbase test.C -fchar-charconst -noreg -version -o /tmp/cca19086.s
GNU C++ version 1.27.0 (sparc) compiled by GNU C version 1.28.
/usr/public/g++: Program c++ got fatal signal 6.
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