[Bug c++/26426] Type layout bug

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 18 10:58:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26426

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> See https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01667.html where I said:
> 
> I don't think this is a bug. B is the primary base class for Z so has already
> been allocated (as part of the Y subobject, in I-2b), and so the B base class
> of the X subobject is not allocated as part of the X (in III).
> 
> https://itanium-cxx-abi.github.io/cxx-abi/abi.html#a17

Since Chris hasn't responded, I'm closing this accordingly.


More information about the Gcc-bugs mailing list