summaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-28 02:47:34 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-28 02:47:34 +0000
commitf8c10ae58f37242a179fcb6e9b2e5c377c3d6a23 (patch)
tree7702d5d8c519533959bc334c890cb8c3e15751d7 /gcc/cp/search.c
parent92a23dbb1d060907dfc5c6398c8e84d9a9ab4b7a (diff)
downloadgcc-f8c10ae58f37242a179fcb6e9b2e5c377c3d6a23.tar.gz
* search.c (binfo_for_vtable): Initialize bfvi.var.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index ca98daaac4a..b9d642ff4bc 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -3211,6 +3211,7 @@ binfo_for_vtable (var)
type = DECL_CONTEXT (var);
bfvi.vbases = CLASSTYPE_VBASECLASSES (type);
+ bfvi.var = var;
return dfs_walk_real (TYPE_BINFO (type),
0, dfs_bfv_helper, dfs_bfv_queue_p, &bfvi);
}