This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13115] [ABI] wrong class hierarchy
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2003 08:45:51 -0000
- Subject: [Bug c++/13115] [ABI] wrong class hierarchy
- References: <20031118211525.13115.yanliu@ca.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2003-11-21 08:45 -------
Not a bug. your analysis is wrong.
>This time, C is put at offset 12, but G's E's C's A object is put at offset 16,
>and G's F's C's A is put at offset 12, so is G's C's A is also at offset12.
>This is wrong, since these A should be the same A object.
No, those are distinct A objects. A is inherited both virtually and non-virtually
within the heirarchy
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13115