On Thu, Nov 08, 2018 at 02:01:42PM -0800, Andy Lutomirski wrote: > > > > > > They both seem like bugs, perhaps. As I understand it, __packed > > > removes padding, but it also forces the compiler to expect the fields > > > to be unaligned even if they are actually aligned. > > > > How is that? Andy, mind to point where you get that this > > attribute forces compiler to make such assumption? > > It's from memory. But gcc seems to agree with me I compiled this: > Indeed, thanks!