OSDN Git Service

* search.c (binfo_for_vtable): Initialize bfvi.var.
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 1999 02:47:34 +0000 (02:47 +0000)
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 1999 02:47:34 +0000 (02:47 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26685 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/search.c

index 53b9f0a..da0b4dd 100644 (file)
@@ -1,3 +1,7 @@
+Wed Apr 28 11:42:22 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * search.c (binfo_for_vtable): Initialize bfvi.var.
+
 1999-04-27  Nathan Sidwell  <nathan@acm.org>
 
        * rtti.c (build_x_typeid): Check rtti is enabled.
index ca98daa..b9d642f 100644 (file)
@@ -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);
 }