🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1922

Re: Found compiler hang bug

#1922
From: Doug Schmidt
Date: Fri, 28 Apr 1989 03:11
35 lines
1423 bytes
In article <8904271456.AA18302@lotus.lotus.com> lotus!steveng@GARP.MIT.EDU (Stephen Ng) writes:
++ 
++ dear gnu,
++ 
++ i found a bug that hangs g++ version 1.34.0.  it is:
++ 
++ int foo();
++ class C {
++         friend int foo();
++ };
++ 
++ bar()
++ {
++         foo();
++ }
++ 
++ 

This does not hang with g++ 1.35, although I'm not sure if the message is
correct:

----------------------------------------
g++ bug.c
bug.c:3: friend `foo' implicitly overloaded
bug.c:1: after declaration of non-overloaded `int foo ()'
----------------------------------------

Anyone have any comments?

Doug
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha                +------------------------+
Is like proclaiming innocence,         | schmidt@ics.uci.edu    |
With loot in your pocket.              | office: (714) 856-4043 |
Technical Details
Message-ID: <12841@paris.ics.uci.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!bloom-beacon!usc!orion.cf.uci.edu!uci-ics!zola.ics.uci.edu!schmidt
References: <8904271456.AA18302@lotus.lotus.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!bloom-beacon!usc!orion.cf.uci.edu!uci-ics!zola.ics.uci.edu!schmidt
From: schmidt@zola.ics.uci.edu (Doug Schmidt)
Newsgroups: gnu.g++.bug
Subject: Re: Found compiler hang bug
Message-ID: <12841@paris.ics.uci.edu>
Date: 28 Apr 89 03:11:39 GMT
References: <8904271456.AA18302@lotus.lotus.com>
Sender: news@paris.ics.uci.edu
Reply-To: Doug Schmidt <schmidt@zola.ics.uci.edu>
Distribution: gnu
Organization: University of California at Irvine: ICS Dept.
Lines: 35