Path: 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 Distribution: gnu Organization: University of California at Irvine: ICS Dept. Lines: 35 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 |