]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/search.c
re PR c++/16889 (ambiguity is not detected)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 24 Aug 2004 16:06:22 +0000 (16:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 24 Aug 2004 16:06:22 +0000 (16:06 +0000)
commitf8ad2d219e145753abb13bf84b606a41df1ad5bb
tree86fd999adb0b2315ae129f8e8afc5084c8e45778
parent97dc04b39a0435315f95512f5214d22cabe67e16
re PR c++/16889 (ambiguity is not detected)

cp:
PR c++/16889
* (is_subobject_of_p): Resurrect & optimize.
(lookup_field_r): Use it.
testsuite:
PR c++/16889
* g++.dg/lookup/ambig[12].C: New.

From-SVN: r86488
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/ambig1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/ambig2.C [new file with mode: 0644]
This page took 0.060968 seconds and 5 git commands to generate.