This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: Aligning struct member has strange impact on struct alignment


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


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