class.c (record_subobject_offsets): Don't record offsets past biggest empty class...
authorMark Mitchell <mark@codesourcery.com>
Mon, 7 Nov 2005 03:47:34 +0000 (03:47 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 7 Nov 2005 03:47:34 +0000 (03:47 +0000)
commitc0572427ed71b533279fd15dfa22473b7cefaf9a
tree04f9640c29d5faec46b76728cab7f25912d08710
parent405a3684f54d08c4e3e4612a90fb83b99db5247a
class.c (record_subobject_offsets): Don't record offsets past biggest empty class for non-empty base classes.

* class.c (record_subobject_offsets): Don't record offsets past
biggest empty class for non-empty base classes.
(layout_class_type): Use TYPE_SIZE_UNIT, not TYPE_SIZE, when
keeping track of the size of emptyclasses.

From-SVN: r106580
gcc/cp/ChangeLog
gcc/cp/class.c