This is the mail archive of the gcc-patches@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: [patch c/c++]: Fix for PR c/52991 issue about ignored packed-attribute for ms-structure-layout


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


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