This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14242] [3.4 regression] symbol lookup in templates
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2004 19:17:46 -0000
- Subject: [Bug c++/14242] [3.4 regression] symbol lookup in templates
- References: <20040222145017.14242.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-03-06 19:17 -------
Nathan, can you please comment on this testcase? I can't see how this can be
valid since 'bla' is an unqualified non-dependent id which has to be looked up
at template definition time. The lookup will found an overload set, and the
disambiguation will have to be deferred till instantiation time as the
assignment expression is type-dependent.
But latest EDG and MSVC71 accepts the code.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it, nathan at gcc dot gnu
| |dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14242