egcs/gcc/cp ChangeLog call.c class.c cp-tree.h ...

mmitchel@gcc.gnu.org mmitchel@gcc.gnu.org
Mon Jan 17 14:54:00 GMT 2000


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	mmitchel@sourceware.cygnus.com	00/01/17 14:54:23

Modified files:
	gcc/cp         : ChangeLog call.c class.c cp-tree.h tree.c 

Log message:
	* cp-tree.h (build_shared_int_cst): New function.
	* call.c (build_over_call): Use DECL_VIRTUAL_CONTEXT, for clarity.
	* class.c (modify_vtable_entry): Likewise.
	(add_virtual_function): Split out code to generated shared
	INTEGER_CSTs to build_share_int_cst.
	(modify_all_vtables): Handle all the overridden functions here.
	Add overridden functions from non-primary virtual bases to the
	primary vtable.
	(finish_struct_1): Adjust call to modify_all_vtables.  Add
	overridden functions from non-primary bases to the vtable.
	* tree.c (build_shared_int_cst): New function.



More information about the Gcc-cvs mailing list