re PR c++/16889 (ambiguity is not detected)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 24 Sep 2004 14:04:58 +0000 (14:04 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 24 Sep 2004 14:04:58 +0000 (14:04 +0000)
commit5cf447dbf18327c71263f9afff56905d2a86dc0d
tree4b7df1428bb79c3d0495988b626d036f1c30c384
parentc5466b25b4642820236eb73f895488da192cbab0
re PR c++/16889 (ambiguity is not detected)

cp:
PR c++/16889
* search.c (lookup_field_queue_p): Correct check for hidden base.

* search.c (bfs_walk): Remove.
(lookup_member): Use dfs_walk_real.
(dfs_walk_real): Move and adjust documentation from bfs_walk.
testsuite:
PR c++/16889
* g++.dg/lookup/ambig3.C: New.

From-SVN: r88037
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/ambig3.C [new file with mode: 0644]