This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/10103: Parser enters infinite loop on illegal code (comma before '}' in member functions)
- From: mw dot adtrap at talk21 dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 15 Mar 2003 17:12:33 -0000
- Subject: c++/10103: Parser enters infinite loop on illegal code (comma before '}' in member functions)
- Reply-to: mw dot adtrap at talk21 dot com
>Number: 10103
>Category: c++
>Synopsis: Parser enters infinite loop on illegal code (comma before '}' in member functions)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Sat Mar 15 17:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Martin Wille
>Release: 3.0.4 3.1 3.2
>Organization:
>Environment:
>Description:
The C++ parser reports the bug, then enters an infinite loop.
The bug doesn't seem to be present in 3.3.
Also not present in 2.95.3.
>How-To-Repeat:
struct x { void y(int p) { p, } };
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: