[patch c/c++]: Fix for PR c/52991 issue about ignored packed-attribute for ms-structure-layout
Jakub Jelinek
jakub@redhat.com
Thu Dec 13 10:07:00 GMT 2012
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.
Jakub
More information about the Gcc-patches
mailing list