c++/5386: g++ mis-parses bad nested name

Jason Merrill jason@prospero.cambridge.redhat.com
Tue Jan 15 03:46:00 GMT 2002


>Number:         5386
>Category:       c++
>Synopsis:       g++ mis-parses bad nested name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 15 03:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jason Merrill
>Release:        unknown-1.0
>Organization:
redhat
>Environment:
System: Linux prospero.cambridge.redhat.com 2.4.13-0.5 #1 Sat Nov 3 15:08:02 EST 2001 i686 unknown
Architecture: i686

	
>Description:
	'class A::B;' is parsed as a declaration of ::B, when it should be an ill-formed
        elaborated-type-specifier under the new rules for parsing
	identifiers chained with ::.

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list