This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-fvtable-gc broken


1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* search.c (binfo_for_vtable): Initialize bfvi.var.

--- egcs-2.93/gcc/cp/search.c.~1~	Mon Apr 19 18:36:36 1999
+++ egcs-2.93/gcc/cp/search.c	Sat Apr 24 12:58:50 1999
@@ -3201,6 +3201,7 @@
 
   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);
 }

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]