PR c++/2294
authorgiovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Dec 2003 15:23:31 +0000 (15:23 +0000)
committergiovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Dec 2003 15:23:31 +0000 (15:23 +0000)
commit09914552ad8cb3b3ef8e11f5941771e8d3f5df70
treecceed65ec08f95207104d09da9520944043f5c66
parentf514a864765f722fd85fd107b219f072cad90102
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.
* init.c (build_new_1): Deal with an OVERLOAD set when
looking up for _Jv_AllocObject.
* except.c (build_throw): Likewise for _Jv_Throw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74394 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/cp/init.c
gcc/cp/name-lookup.c