Article View: gnu.g++.bug
Article #1956bug in desctructor in void function
From: hcl
Date: Mon, 08 May 1989 17:22
Date: Mon, 08 May 1989 17:22
32 lines
1061 bytes
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)
Technical Details
Message-ID:
<8905081721.AA12350@randi.itk.unit.no>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!itk.unit.no!hclShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!itk.unit.no!hcl From: hcl@itk.unit.no Newsgroups: gnu.g++.bug Subject: bug in desctructor in void function Message-ID: <8905081721.AA12350@randi.itk.unit.no> Date: 8 May 89 17:22:27 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 32