This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/10103: Parser enters infinite loop on illegal code (comma before '}' in member functions)


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]