]> git.ipfire.org Git - thirdparty/gcc.git/commit
name-lookup.c (push_overloaded_decl): Don't error if the new decl matches the old...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 2 Mar 2005 19:57:10 +0000 (19:57 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 2 Mar 2005 19:57:10 +0000 (19:57 +0000)
commitad8d8a76aebf31df41e6406db070fdb150248b9e
treea1825142e650017212478cdb9a8def7d1511e65b
parent3e2fa583713f2684c77bbe48e1b7f325309c6fa0
name-lookup.c (push_overloaded_decl): Don't error if the new decl matches the old one.

gcc/cp/ChangeLog:
* name-lookup.c (push_overloaded_decl): Don't error if the new
decl matches the old one.
* decl.c (redeclaration_error_message): Likewise.
gcc/testsuite/ChangeLog:
* g++.dg/overload/using2.C: New.

From-SVN: r95800
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog