On Fri, 26 Sep 2008, Arnaldo Carvalho de Melo wrote:
Indeed. And on some architectures 'packed' will actually mean that the
compiler may think that it's unaligned, and then generate much worse code
to access the fields. So if you align things anyway (and you do), then
'packed' is the wrong thing to do.
Linus
--