* search.c (binfo_for_vtable): Initialize bfvi.var.
authorAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
Wed, 28 Apr 1999 02:47:34 +0000 (02:47 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Wed, 28 Apr 1999 02:47:34 +0000 (02:47 +0000)
From-SVN: r26685

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

index 53b9f0a07aa064a5ee99097ebbc3956d7cd34ff1..da0b4ddaeb6c9afd7ecde87c60daeca3cb6bad69 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 ca98daaac4af0be55939b383d3646689974e87dc..b9d642ff4bc1007d6343abd0eb67f9d1620113d5 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);
 }