On Thu, Dec 13, 2012 at 11:07 AM, Jakub Jelinek <ja...@redhat.com> wrote: > On Thu, Dec 13, 2012 at 11:03:58AM +0100, Richard Biener wrote: >> struct X >> { >> char c; >> short s; >> char c2; >> short s2; >> } __attribute__((packed,aligned(2))); > > As struct-layout-1.exp tests show, this is something that was ABI-wise > changed already several times. That said, for non-ms-bitfield-layout I'd > strongly prefer if we could avoid yet another ABI change for it.
Probably not exactly this case - 2.95, 3.2, 3.3, 4.1 ... all show the same behavior. And Kai should have seen regressions, no? Richard. > Jakub