search.c (dependent_base_p): Don't compare a binfo to current_class_type; use the...
authorMark Mitchell <mark@markmitchell.com>
Tue, 25 Aug 1998 13:09:57 +0000 (13:09 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 25 Aug 1998 13:09:57 +0000 (13:09 +0000)
commitbca9e8f7ccd1d094933d902efdb9f59e032d0c91
tree5d8d8d96272b22955c935791bb6b14234754242b
parent226c39d3902bcb038dfb82998e414223d5df94ec
search.c (dependent_base_p): Don't compare a binfo to current_class_type; use the TREE_TYPE of the binfo instead.

* search.c (dependent_base_p): Don't compare a binfo to
current_class_type; use the TREE_TYPE of the binfo instead.

From-SVN: r21971
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/g++.old-deja/g++.pt/lookup4.C [new file with mode: 0644]