size of derived classes - misfeature of gcc?

Jakub Jelinek jakub@redhat.com
Mon May 7 07:00:00 GMT 2001


On Mon, May 07, 2001 at 03:45:11PM +0200, Christian Szegedy wrote:
> Then, I would except that C and B have both size 4, and therefore the output
> should be:
> 1 4 4
> 
> The result of this run is:
> 1 8 4 
> for some reason I don't understand.

In the new g++ ABI this gives 1 4 4.

	Jakub



More information about the Gcc mailing list