🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ken Yap Tue, 16 May 1989 17:45
1.34.2 bug
#1999
Author: Ken Yap
Date: Tue, 16 May 1989 17:45
23 lines
1113 bytes
The erroneous program appended causes g++ 1.34.2 to core dump.

Session:

% g++ -v -c bug1.cc
g++ version 1.34.2
 /usr/su/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 bug1.cc /tmp/cca18850.cpp
GNU CPP version 1.35
 /usr/su/lib/gcc-c++ /tmp/cca18850.cpp -quiet -dumpbase bug1.cc -noreg -version -o /tmp/cca18850.s
GNU C++ version 1.34.2 (68k, MIT syntax) compiled by GNU C version 1.34.
In function int main ():
bug1.cc:5: invalid type argument of `unary *'
Failed assertion 0 at line 1030 of `cplus-cvt.c'.
Program c++ got fatal signal 6.

Program:

int atoi(char *);

main()
{
	int&	i = *atoi("10");
}
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