This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5963: gcc won't temrminate with simple source
- From: wwieser at gmx dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 14 Mar 2002 13:01:29 -0000
- Subject: c++/5963: gcc won't temrminate with simple source
- Reply-to: wwieser at gmx dot de
>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.)
-------------<loop.cc>------------
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: