[cxx-abi-dev] Tail padding, in sumary

Mark Mitchell mark at codesourcery.com
Fri Aug 23 17:09:36 UTC 2002


> You haven't mentioned
> 	struct A { virtual void f(); int i : 3; };
> 	struct C { A a; int j: 2; };
> which should have the same layout as B. g++, intel & hp get this wrong.

I'm sorry; I didn't understand that to be the case.

Intel, HP -- would you please confirm that your compilers pack C::j into 
the
same byte as A::i in this case?

--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com



More information about the cxx-abi-dev mailing list