This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19403] [4.0 Regression] name lookup is broken with friends
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2005 18:42:22 -0000
- Subject: [Bug c++/19403] [4.0 Regression] name lookup is broken with friends
- References: <20050112180427.19403.Woebbeking@web.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12 18:42 -------
: Search converges between 2004-11-25-014001-trunk (#656) and 2004-11-25-161001-trunk
(#657).
Yes this is valid code. we should have found the global A for the statement "friend struct A;" but instead
it adds a class to the namespace Boo which is wrong.
I am alomst certain it is caused by one of the "Friend class name lookup" patches.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |lerdsuwa at users dot
| |sourceforge dot net
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2005-01-12 18:42:20
date| |
Summary|name lookup is broken |[4.0 Regression] name lookup
| |is broken with friends
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19403