[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-02-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-11 20:34 --- (In reply to comment #13) > This looks like a duplicate of PR 1016 to me. It might be a dup bug the example in this bug was able to compile in 3.4.0 and before. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-02-11 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-02-11 17:37 --- This looks like a duplicate of PR 1016 to me. -- What|Removed |Added CC|

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-30 14:28 --- *** Bug 19709 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-30 14:28 --- Confirmed. -- What|Removed |Added CC||pinskia at

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-30 14:27 --- Reopening as I must have missed GDR's last comment. -- What|Removed |Added Statu

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-14 16:10 --- Subject: Re: [4.0 Regression] name lookup is broken with friends "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | (In reply to comment #2) | > Excuse me? | | You are right, but what is

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-14 16:06 --- Subject: Re: [4.0 Regression] name lookup is broken with friends "Woebbeking at web dot de" <[EMAIL PROTECTED]> writes: | Subject: Re: [4.0 Regression] name lookup is broken with friends | | On Thu

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-14 Thread Woebbeking at web dot de
--- Additional Comments From Woebbeking at web dot de 2005-01-14 09:56 --- Subject: Re: [4.0 Regression] name lookup is broken with friends On Thursday 13 January 2005 15:52, lerdsuwa at gcc dot gnu dot org wrote: > > > So B's ctor uses the global A without the friend declaration and w

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-13 14:52 --- > So B's ctor uses the global A without the friend declaration and with the > friend declaration the local injected A? Sometimes the holy standard confuses > me a bit. No. With or without friend declarat

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-13 Thread Woebbeking at web dot de
--- Additional Comments From Woebbeking at web dot de 2005-01-13 10:07 --- Subject: Re: [4.0 Regression] name lookup is broken with friends On Wednesday 12 January 2005 20:37, gdr at integrable-solutions dot net wrote: > > Excuse me? > > The behaviour mandated by the C++ standard is th

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-13 05:55 --- Both ICC and Comeau are right. The declaration friend struct A; refers to boo::A, while the declaration B(const A&) {}; refers to ::A. So the code should compile. The patch for PR1016, sched

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12 19:47 --- (In reply to comment #2) > Excuse me? You are right, but what is werid here is that ICC even in strict mode and Comeau accept the code. This is invalid code and a dup of bug 14513. *** This bug has been

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-12 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-01-12 19:37 --- Subject: Re: [4.0 Regression] name lookup is broken with friends "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | : Search converges between 2004-11-25-014001-trunk (#656) and 2004-11-

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-12 Thread pinskia 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 i