[Bug c++/13115] [ABI] wrong class hierarchy

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 21 08:45:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list