public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7876: g++ doesn't diagnose One Reference Rule violation
@ 2002-09-13 9:17 nathan
0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2002-09-13 9:17 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, nobody
Synopsis: g++ doesn't diagnose One Reference Rule violation
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Fri Sep 13 09:17:10 2002
State-Changed-Why:
confirmed
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7876
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/7876: g++ doesn't diagnose One Reference Rule violation
@ 2002-09-10 1:06 gdr
0 siblings, 0 replies; 2+ messages in thread
From: gdr @ 2002-09-10 1:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 7876
>Category: c++
>Synopsis: g++ doesn't diagnose One Reference Rule violation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Tue Sep 10 01:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Gabriel Dos Reis <gdr@nerim.net>
>Release: unknown-1.0
>Organization:
>Environment:
Plateform independent
>Description:
The program below is ill-formed but g++ fails to diagnose
it: The name 'X' refers to different declarations in its
context and when re-evaluated in the completed scope of A.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="name-lookup2.C"
Content-Disposition: inline; filename="name-lookup2.C"
template<typename>
struct X { };
struct B { };
struct A {
typedef X<int> X;
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-13 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13 9:17 c++/7876: g++ doesn't diagnose One Reference Rule violation nathan
-- strict thread matches above, loose matches on Subject: below --
2002-09-10 1:06 gdr
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).