This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/23643] Incorrect conversion from derived to empty base class



------- Comment #3 from jbuck at gcc dot gnu dot org  2007-01-12 08:18 -------
Andrew is right, this isn't a bug, and is in fact required by the ABI.
See http://www.codesourcery.com/cxx-abi/abi.html#class-types, section II,
subsection 3.  "First, attempt to place D at offset 0."  No rule prevents doing
this, so that is where it lands.


-- 

jbuck at gcc dot gnu dot org changed:

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23643


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]