class.c (dfs_find_final_overrider): Fix logic.
authorJason Merrill <jason@redhat.com>
Thu, 14 Jun 2001 12:59:40 +0000 (08:59 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Jun 2001 12:59:40 +0000 (08:59 -0400)
commit3ea099f17999ab6114515989ef3bcbc5086dd1d0
tree7c3f1904152cd04cafdddcd7ed7d7c7d5ffc763f
parent630d3d5a68bcb7dd898d5977580dcdca3906a119
class.c (dfs_find_final_overrider): Fix logic.

        * class.c (dfs_find_final_overrider): Fix logic.

        * class.c (update_vtable_entry_for_fn): Uncomment optimization to use
        virtual thunk instead of non-virtual.
        (get_matching_virtual): Uncomment.

        * pt.c (unify): Don't recurse between the POINTER_TYPE and the
        OFFSET_TYPE.  If we're adding cv-quals, the extra ones would be on
        PARM, not ARG.

From-SVN: r43372
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.other/override2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/deduct7.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/unify8.C