🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by hcl Mon, 08 May 1989 17:22
bug in desctructor in void function
#1956
Author: hcl
Date: Mon, 08 May 1989 17:22
32 lines
1061 bytes
The following program makes G++ 1.34.2 dump core after signal 6 on a
SUN 3/60 running SUNOS4.0.1.

The core is dumped when G++ is trying to process the return statement.

----------------------------------------------------------------
struct a
{
    short	x;
    short	y;
    ~a () {}	
};


void main()
{
    a y;
    a x;

    if (x.x < y.x)
	return;
}
------------------------------------------------------------
Best regards

Ornulf Jan Rodseth				Telephone
SINTEF Dep. of Automatic Control		(+47 7) 594351 Direct
N-7034 TRONDHEIM				(+47 7) 594375 Switchboard
NORWAY						(+47 7) 594399 Fax

ojr%regtek.unit.uninett@tor.nta.no (EAN)	ojr@itk.unit.no (ARPA)
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