public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
@ 2002-09-13  7:24 nathan
  0 siblings, 0 replies; 5+ messages in thread
From: nathan @ 2002-09-13  7:24 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, gdr

Synopsis: g++ finds otherwise names otherwise invisible by ordinary name lookup

State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Fri Sep 13 07:24:40 2002
State-Changed-Why:
    confirmed - Gaby, there are several instances of this PR
    in gnats

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


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

* Re: c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
@ 2002-10-09  9:16 Pop Sébastian
  0 siblings, 0 replies; 5+ messages in thread
From: Pop Sébastian @ 2002-10-09  9:16 UTC (permalink / raw)
  To: gdr; +Cc: gcc-prs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

The following reply was made to PR c++/7874; it has been noted by GNATS.

From: =?iso-8859-1?Q?Pop_S=E9bastian?= <pop@gauvain.u-strasbg.fr>
To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	gdr@gcc.gnu.org, gdr@nerim.net, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
Date: Wed, 9 Oct 2002 18:13:08 +0200

 On Wed, Oct 09, 2002 at 01:47:04AM +0200, Pop Sébastian wrote:
 > 
 > I cannot reproduce this error on 
 > gcc version 3.2.1 20020924 (Debian prerelease)
 > version gcc 3.3 20021007 (experimental)
 > 
 
 The above is false.
 In fact we expect that the compiler generates an error as it does on 2.95
 
 Sorry for the confusion,
 Sebastian.


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

* Re: c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
@ 2002-10-08 16:56 Pop Sébastian
  0 siblings, 0 replies; 5+ messages in thread
From: Pop Sébastian @ 2002-10-08 16:56 UTC (permalink / raw)
  To: gdr; +Cc: gcc-prs

The following reply was made to PR c++/7874; it has been noted by GNATS.

From: =?iso-8859-1?Q?Pop_S=E9bastian?= <pop@gauvain.u-strasbg.fr>
To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	gdr@gcc.gnu.org, gdr@nerim.net, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
Date: Wed, 9 Oct 2002 01:47:04 +0200

 On Fri, Sep 13, 2002 at 02:24:40PM -0000, nathan@gcc.gnu.org wrote:
 > Synopsis: g++ finds otherwise names otherwise invisible by ordinary name lookup
 > 
 > State-Changed-From-To: open->analyzed
 > State-Changed-By: nathan
 > State-Changed-When: Fri Sep 13 07:24:40 2002
 > State-Changed-Why:
 >     confirmed - Gaby, there are several instances of this PR
 >     in gnats
 > 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7874
 
 I cannot reproduce this error on 
 gcc version 3.2.1 20020924 (Debian prerelease)
 version gcc 3.3 20021007 (experimental)
 


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

* Re: c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
@ 2002-09-09 19:20 gdr
  0 siblings, 0 replies; 5+ messages in thread
From: gdr @ 2002-09-09 19:20 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, gdr, nobody

Synopsis: g++ finds otherwise names otherwise invisible by ordinary name lookup

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Mon Sep  9 19:20:12 2002
Responsible-Changed-Why:
    Working on a patch

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


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

* c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup
@ 2002-09-09 15:56 gdr
  0 siblings, 0 replies; 5+ messages in thread
From: gdr @ 2002-09-09 15:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7874
>Category:       c++
>Synopsis:       g++ finds otherwise names otherwise invisible by ordinary name lookup
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          accepts-illegal
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 09 15:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gabriel Dos Reis <gdr@nerim.net>
>Release:        All 3.x series
>Organization:
>Environment:
Plateform independent
>Description:
Ordinary name lookup rules are wrongly implemented: g++
should not find, by ordinary name lookup rules, friend
function names defined in class-definition and not declared
in the enclosing namespace.

This is a regression from 2.95.x
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="name-lookup1.C"
Content-Disposition: inline; filename="name-lookup1.C"

namespace N
{
   template<typename T>
   struct A
   {
      friend void f(A) { };
   };
}

int main()
{
   N::A<int> a;
   N::f(a);                          // ERROR
}


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

end of thread, other threads:[~2002-10-09 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13  7:24 c++/7874: g++ finds otherwise names otherwise invisible by ordinary name lookup nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-10-09  9:16 Pop Sébastian
2002-10-08 16:56 Pop Sébastian
2002-09-09 19:20 gdr
2002-09-09 15:56 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).