public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4403: incorrect class becomes a friend in template
@ 2002-02-26 14:27 nathan
  0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2002-02-26 14:27 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, nobody

Synopsis: incorrect class becomes a friend in template

State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Tue Feb 26 14:24:01 2002
State-Changed-Why:
    confirmed

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4403


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/4403: incorrect class becomes a friend in template
@ 2001-09-26  9:06 nathan
  0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2001-09-26  9:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4403
>Category:       c++
>Synopsis:       incorrect class becomes a friend in template
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 26 09:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     nathan@codesourcery.com
>Release:        CVS, 3.0.1, cp-parser-branch
>Organization:
>Environment:

>Description:
during the cp-parser-branch development, I find that
g++.pt/inherit2.C makes the wrong class a friend.
We sued to give the correct diagnostic about
friend struct AC making ::AC a friend not A<T>::AC,
but infact we do make A<T>::AC the friend.

The test case did not check that friendliness was actually
bestowed. I have extended and XFAILED the testcase
on the cp-parser-branch.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-26 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26 14:27 c++/4403: incorrect class becomes a friend in template nathan
  -- strict thread matches above, loose matches on Subject: below --
2001-09-26  9:06 nathan

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).