Thread View: gnu.g++.bug
1 messages
1 total messages
Started by rjc
Mon, 17 Jul 1989 00:25
Named return bug (signal 11)
Author: rjc
Date: Mon, 17 Jul 1989 00:25
Date: Mon, 17 Jul 1989 00:25
28 lines
1407 bytes
1407 bytes
Script started on Sun Jul 16 17:22:37 1989
maui% g++ -v dump.cc
g++ version 1.35.1-
/s/local1/Gnu/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 dump.cc /tmp/cca18100.cpp
GNU CPP version 1.35
/s/local1/Gnu/lib/gcc-cc1plus /tmp/cca18100.cpp -quiet -dumpbase dump.cc -noreg -version -o /tmp/cca18100.s
GNU C++ version 1.35.1- (68k, MIT syntax) compiled by GNU C version 1.35.
In method struct X &X::foo (int):
dump.cc:10: Segmentation violation
g++: Program cc1plus got fatal signal 11.
maui% cat dump.cc
class X {
int x;
public:
X(int);
X& foo(int);
};
X&
X::foo(int i) return
result(i)
{
}
maui% ^D
script done on Sun Jul 16 17:23:18 1989
-------------------------------------------------------------------------------
rjc@cs.ucla.edu C++/Paris on the CM2: Object Oriented SIMD madness
-------------------------------------------------------------------------------
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