public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13812] New: two stage name lookup wrong with using directive
@ 2004-01-22 13:37 nathan at gcc dot gnu dot org
  2004-01-22 13:38 ` [Bug c++/13812] " nathan at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-01-22 13:37 UTC (permalink / raw)
  To: gcc-bugs

The test case is accepted, but should not be. Here is what edg says
"cm.cc", line 16: error: no instance of overloaded function "method" matches
          the argument list
            argument types are: (C *)
      method(static_cast<TP *>(0));
      ^
          detected during instantiation of
                    "void TestClass<TP>::test() [with TP=C]" at line 25

1 error detected in the compilation of "cm.cc".

-- 
           Summary: two stage name lookup wrong with using directive
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nathan at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812


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

* [Bug c++/13812] two stage name lookup wrong with using directive
  2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
@ 2004-01-22 13:38 ` nathan at gcc dot gnu dot org
  2004-01-22 13:40 ` mattyt-bugzilla at tpg dot com dot au
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-01-22 13:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2004-01-22 13:38 -------
Created an attachment (id=5553)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5553&action=view)
test case


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812


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

* [Bug c++/13812] two stage name lookup wrong with using directive
  2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
  2004-01-22 13:38 ` [Bug c++/13812] " nathan at gcc dot gnu dot org
@ 2004-01-22 13:40 ` mattyt-bugzilla at tpg dot com dot au
  2004-01-22 14:49 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mattyt-bugzilla at tpg dot com dot au @ 2004-01-22 13:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mattyt-bugzilla at tpg dot
                   |                            |com dot au


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812


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

* [Bug c++/13812] two stage name lookup wrong with using directive
  2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
  2004-01-22 13:38 ` [Bug c++/13812] " nathan at gcc dot gnu dot org
  2004-01-22 13:40 ` mattyt-bugzilla at tpg dot com dot au
@ 2004-01-22 14:49 ` pinskia at gcc dot gnu dot org
  2004-07-29  5:04 ` pinskia at gcc dot gnu dot org
  2004-07-29  5:07 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-22 14:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-22 14:49 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-22 14:49:22
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812


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

* [Bug c++/13812] two stage name lookup wrong with using directive
  2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-01-22 14:49 ` pinskia at gcc dot gnu dot org
@ 2004-07-29  5:04 ` pinskia at gcc dot gnu dot org
  2004-07-29  5:07 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-29  5:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-29 05:04 -------
This sounds like a dup of bug 2922 really.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812


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

* [Bug c++/13812] two stage name lookup wrong with using directive
  2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-29  5:04 ` pinskia at gcc dot gnu dot org
@ 2004-07-29  5:07 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-29  5:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-29 05:07 -------
Looking into the testcases again I can say for sure that this is a dup of bug 2922.

*** This bug has been marked as a duplicate of 2922 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812


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

end of thread, other threads:[~2004-07-29  5:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
2004-01-22 13:38 ` [Bug c++/13812] " nathan at gcc dot gnu dot org
2004-01-22 13:40 ` mattyt-bugzilla at tpg dot com dot au
2004-01-22 14:49 ` pinskia at gcc dot gnu dot org
2004-07-29  5:04 ` pinskia at gcc dot gnu dot org
2004-07-29  5:07 ` pinskia at gcc dot gnu dot org

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