]> gcc.gnu.org Git - gcc.git/commit
Re-implement allocation of base class subobjects.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 3 Apr 1998 03:41:20 +0000 (22:41 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 3 Apr 1998 03:41:20 +0000 (22:41 -0500)
commit9a71c18b28efc85365b4a221558d748ec6582794
tree0866e543e8c42660af1ccddc0502574d3c33cf14
parent516c23423ecba82c46ba633870014dac2db0dd91
Re-implement allocation of base class subobjects.

* tree.c (unshare_base_binfos): New fn.
(layout_basetypes): Use it.  Now handles offsets of both virtual and
non-virtual bases, after layout_type.
(layout_vbasetypes): Remove.
(build_base_fields): Generate FIELD_DECLs for each non-virtual base.
(build_vbase_pointer_fields): Split out from old layout_basetypes.
* class.c (finish_base_struct): Lose offset handling code.
Move nonvdtor warning here.  Don't mess with t_binfo anymore.
(finish_struct_1): Don't mess with t_binfo anymore.  Use fns above.
* cp-tree.h: Adjust.

From-SVN: r18973
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/tree.c
This page took 0.061452 seconds and 5 git commands to generate.