re PR c++/2294 (using declaration confusion)
authorGiovanni Bajo <giovannibajo@libero.it>
Fri, 14 Nov 2003 20:14:08 +0000 (21:14 +0100)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Fri, 14 Nov 2003 20:14:08 +0000 (21:14 +0100)
commit2a91b33cb0c4c3e3c4bdd25a885c87c3f3721313
tree09ea5083f981c548330b1887bc758f81ca9faf7f
parent8fecc9e903e1a2824eb52a59a819ebc3fbd1e9b4
re PR c++/2294 (using declaration confusion)

        PR c++/2294
        * name-lookup.c (push_overloaded_decl): Always construct an OVERLOAD
        unless the declaration is a built-in.
        (set_namespace_binding): While binding OVERLOADs with only one
        declaration, we still need to call supplement_binding.

From-SVN: r73618
gcc/cp/ChangeLog
gcc/cp/name-lookup.c