Aligning struct member has strange impact on struct alignment
Jim Wilson
wilson@specifixinc.com
Thu Apr 15 20:06:00 GMT 2004
Stephan Bergmann wrote:
> Why is the alignment of S2 == 8 when I align its double member on 4? Is
> that a bug, or am I missing something?
I can reproduce this with the RHL 8 compiler which is 3.2 plus patches.
I can not reproduce this with gcc-3.3 or later, so it apparently has
already been fixed. We aren't maintaining gcc-3.2 anymore. Only
gcc-3.3 and on.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc-bugs
mailing list