aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-04-02 22:41:20 -0500
committerJason Merrill <jason@gcc.gnu.org>1998-04-02 22:41:20 -0500
commit9a71c18b28efc85365b4a221558d748ec6582794 (patch)
tree0866e543e8c42660af1ccddc0502574d3c33cf14 /gcc/final.c
parent516c23423ecba82c46ba633870014dac2db0dd91 (diff)
downloadgcc-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