This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: possible structure layout bug
- From: Richard Henderson <rth at redhat dot com>
- To: Stephen Kennedy <Stephen dot Kennedy at havok dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 9 Jun 2004 12:44:22 -0700
- Subject: Re: possible structure layout bug
- References: <1086801744.3034.24.camel@stag.telekinesys>
On Wed, Jun 09, 2004 at 06:22:24PM +0100, Stephen Kennedy wrote:
> Normally, compilers place members from derived classes starting at
> sizeof(base), but gcc breaks this rule if the class contains a simd type
> and places the derived member in the padding of the base class.
Has nothing to do with simd or not. Has everything to do
with POD or non-POD type.
r~