re PR c++/13157 (Argument Dependent Lookup Failure)
authorMark Mitchell <mark@codesourcery.com>
Mon, 5 Jan 2004 06:24:47 +0000 (06:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 5 Jan 2004 06:24:47 +0000 (06:24 +0000)
commit543ebd4aea03f0051b035315344fced4e8fcf86c
tree8839f7280c9dbcd84c08e24327572e09044a43e1
parent572c2b17aa1580433f6ea5cf0267a62424fe2020
re PR c++/13157 (Argument Dependent Lookup Failure)

PR c++/13157
* name-lookup.c (lookup_using_namespace): Remove spacesp
parameter.
(unqualified_namespace_lookup): Likewise.
(lookup_qualified_name): Adjust accordingly.
(lookup_name_real): Likewise.
(lookup_arg_dependent): Do not eliminate the namespace of the
functions found by unqualified name lookup unless that is the
current namespace.

PR c++/13157
* g++.dg/template/koenig3.C: New test.

From-SVN: r75416
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/koenig3.C [new file with mode: 0644]