decl.c (push_overloaded_decl): Only overwrite the old binding if there was one.
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>
Wed, 3 Mar 1999 11:22:42 +0000 (11:22 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Wed, 3 Mar 1999 11:22:42 +0000 (11:22 +0000)
commit0580c9aa4c0518c1dd83605ae0882a5a8e03d8a7
treee0fb4e88d0901c8a4b98eb878b4613e43ca2bbf4
parent69063200c247f1bb05d369b0f6b396858d9190d0
decl.c (push_overloaded_decl): Only overwrite the old binding if there was one.

* decl.c (push_overloaded_decl): Only overwrite the old binding if
there was one.
* decl2.c (do_local_using_decl): Fix loop termination.

From-SVN: r25560
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c