From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31992 invoked by alias); 14 Mar 2002 13:06:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31910 invoked by uid 71); 14 Mar 2002 13:06:03 -0000 Resent-Date: 14 Mar 2002 13:06:03 -0000 Resent-Message-ID: <20020314130603.31909.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, wwieser@gmx.de Received:(qmail 26545 invoked by uid 61); 14 Mar 2002 13:01:29 -0000 Message-Id:<20020314130129.26543.qmail@sources.redhat.com> Date: Thu, 14 Mar 2002 05:06:00 -0000 From: wwieser@gmx.de Reply-To: wwieser@gmx.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/5963: gcc won't temrminate with simple source X-SW-Source: 2002-03/txt/msg00472.txt.bz2 List-Id: >Number: 5963 >Category: c++ >Synopsis: gcc won't temrminate with simple source >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Mar 14 05:06:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: wwieser@gmx.de >Release: gcc-3.0.5 (prerelease) >Organization: >Environment: Linux i386 >Description: gcc-3.0.5 (prerelease) will not terminate if fed with the following code lines: (Note the missing `)´ in line 3.) ------------------------- struct A { int foo8(int x) { return(foo16(x); } int foo16(int x); }; -------------------------------- bash# /usr/bin/time gcc -c loop.cc -o loop.o loop.cc: In member function `int A::foo8(int)': loop.cc:3: parse error before `;' token Command terminated by signal 2 0.00user 0.00system 1:02.61elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (111major+31minor)pagefaults 0swaps [Terminated by ^C after 1 minute on a fairly new Athlon system. NOTE: cc1plus is consuming 100% CPU, but gcc 0%, so `time´ reports `0%CPU´.] >How-To-Repeat: see above >Fix: Sorry, cannot help here. >Release-Note: >Audit-Trail: >Unformatted: