public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/4316: Mistaken parsing error?
@ 2001-09-13 6:16 david.abrahams
0 siblings, 0 replies; 3+ messages in thread
From: david.abrahams @ 2001-09-13 6:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 4316
>Category: c++
>Synopsis: Mistaken parsing error?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 13 06:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: david.abrahams@rcn.com
>Release: unknown-1.0
>Organization:
>Environment:
cygwin/gcc-3.0.1
>Description:
The following snippet causes a syntax error, but I believe that's not correct behavior. I realize that body is a dependent name, but the appearance of ::execute() should be enough to disambiguate it as a type.
-Dave
--------
template<typename T>
struct her
{
static int foo()
{
T::body::execute();
return 0;
}
};
>How-To-Repeat:
compile the above
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/4316: Mistaken parsing error?
@ 2002-07-28 5:16 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-07-28 5:16 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: Mistaken parsing error?
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Jul 28 05:16:57 2002
State-Changed-Why:
Fixed in GCC 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4316
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/4316: Mistaken parsing error?
@ 2001-09-14 6:42 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-09-14 6:42 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: Mistaken parsing error?
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Sep 14 06:42:02 2001
State-Changed-Why:
Confirm as a bug. It's still present in main trunk.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4316&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-28 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-13 6:16 c++/4316: Mistaken parsing error? david.abrahams
2001-09-14 6:42 lerdsuwa
2002-07-28 5:16 lerdsuwa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).