Thread View: gnu.g++.bug
1 messages
1 total messages
Started by "Douglas C. Schmidt"
Tue, 03 Jan 1989 05:45
short program kill g++ 1.32 on sparc
Author: "Douglas C. Schmidt"
Date: Tue, 03 Jan 1989 05:45
Date: Tue, 03 Jan 1989 05:45
30 lines
1316 bytes
1316 bytes
Hi,
The following brief C++ program causes a failed assertion in g++
1.32 ( cfront 1.2.1 accepts this without complaint ):
----------------------------------------
class X {
public:
operator int X::* ( void );
};
----------------------------------------
Here is the diagnostic:
----------------------------------------
g++ version 1.32.0
/usr/public/lib/g++/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dsparc
-Dsun -Dunix bug.c /tmp/cca16600.cpp
GNU CPP version 1.32
/usr/public/lib/g++/gcc-c++ /tmp/cca16600.cpp -quiet -dumpbase bug.c
-version -o /tmp/cca16600.s
GNU C++ version 1.32.0 (sparc) compiled by GNU C version 1.31.
bug.c:3: invalid scope request in operator <typename>
Failed assertion 0 at line 4762 of `cplus-decl.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