[Bug c++/24795] [4.1 Regression] Error in dependent name-lookup
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 11 15:58:00 GMT 2005
------- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-11 15:57 -------
This is invalid.
The last example has argument-dependent lookup working which is still required
to run even after finding an overloaded set. PR 2922 explains all this
correctly (and so does the change log for the patch):
* semantics.c (perform_koenig_lookup): For dependent calls, just
return the set of functions we've found so far. Later, it will be
augmented by those found through argument-dependent lookup.
* name-lookup.c (lookup_arg_dependent): Implement DR 164 by removing
the optimization that skips namespaces where the functions were
originally found.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24795
More information about the Gcc-bugs
mailing list