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]

Missed one ...



... in my last change.  This caused bootstrap failures on
non-vtable-thunks targets.

Fixed with this patch.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

1999-07-27  Mark Mitchell  <mark@codesourcery.com>

	* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
	here too.

Index: class.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/class.c,v
retrieving revision 1.168
diff -c -p -r1.168 class.c
*** class.c	1999/07/27 18:15:20	1.168
--- class.c	1999/07/27 20:15:40
*************** override_one_vtable (binfo, old, t)
*** 2836,2843 ****
  
  	    /* We can use integer_zero_node, as we will core dump
  	       if this is used anyway.  */
! 	    TREE_VALUE (virtuals) = build_vtable_entry (integer_zero_node, 
! 							fndecl);
  	  }
  	}
        virtuals = TREE_CHAIN (virtuals);
--- 2836,2843 ----
  
  	    /* We can use integer_zero_node, as we will core dump
  	       if this is used anyway.  */
! 	    TREE_PURPOSE (virtuals) = integer_zero_node;
! 	    TREE_VALUE (virtuals) = fndecl;
  	  }
  	}
        virtuals = TREE_CHAIN (virtuals);


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