[Bug c++/13614] zero size base class not zero size in complex inheritance
lawless at spamcop dot net
gcc-bugzilla@gcc.gnu.org
Fri Jan 9 00:30:00 GMT 2004
------- Additional Comments From lawless at spamcop dot net 2004-01-09 00:30 -------
A closer reading of
"however, two subobjects that have the same class type and that belong to the
same most derived object must not be allocated at the same address (5.10)."
is in order. The B1 base class does NOT appear twice in the same "most derived
object". B1 a base to a *member* of D *once*, and B1 is a base to D *once*. B1
does not appear as a base to any class more than one time. G++ is wrong.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13614
More information about the Gcc-bugs
mailing list