Article View: gnu.g++.bug
Article #1918Found compiler hang bug
From: Stephen Ng
Date: Thu, 27 Apr 1989 14:55
Date: Thu, 27 Apr 1989 14:55
21 lines
691 bytes
691 bytes
dear gnu,
i found a bug that hangs g++ version 1.34.0. it is:
int foo();
class C {
friend int foo();
};
bar()
{
foo();
}
io get this to work, remove the first declaration of int foo().
i believe our C++ code is correct; the two declarations are not contradictory.
stephen ng
Technical Details
Message-ID:
<8904271456.AA18302@lotus.lotus.com>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GARP.MIT.EDU!lotus!stevengShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GARP.MIT.EDU!lotus!steveng From: lotus!steveng@GARP.MIT.EDU (Stephen Ng) Newsgroups: gnu.g++.bug Subject: Found compiler hang bug Message-ID: <8904271456.AA18302@lotus.lotus.com> Date: 27 Apr 89 14:55:58 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21