This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13614] zero size base class not zero size in complex inheritance
- From: "lawless at spamcop dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2004 00:08:22 -0000
- Subject: [Bug c++/13614] zero size base class not zero size in complex inheritance
- References: <20040108152112.13614.lawless@spamcop.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lawless at spamcop dot net 2004-01-09 00:08 -------
Flubbed 10.0(5) paste:
A base class subobject may be of zero size (clause 9); 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).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13614