diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1998-04-02 22:41:20 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-04-02 22:41:20 -0500 |
commit | 9a71c18b28efc85365b4a221558d748ec6582794 (patch) | |
tree | 0866e543e8c42660af1ccddc0502574d3c33cf14 /gcc/final.c | |
parent | 516c23423ecba82c46ba633870014dac2db0dd91 (diff) | |
download | gcc-9a71c18b28efc85365b4a221558d748ec6582794.zip gcc-9a71c18b28efc85365b4a221558d748ec6582794.tar.gz gcc-9a71c18b28efc85365b4a221558d748ec6582794.tar.bz2 |
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
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions