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

2007-01-12 Thread jbuck at gcc dot gnu dot org
--- 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

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

2006-10-11 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2006-10-12 00:56 --- Why exactly do you think that the empty base should not be located at the same address as the simple_base base object? W. -- bangerth at dealii dot org changed: What|Removed |Adde

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

2005-08-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-30 20:21 --- Someone will have to look this up in the ABI since this is an ABI issue. But I think is okay as the base class is empty and takes no space at all. -- What|Removed |Added