This is the mail archive of the gcc@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]

Re: size of derived classes - misfeature of gcc?


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


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