This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] improve handling of ms_struct
- From: Devang Patel <devang dot patel at gmail dot com>
- To: Eric Christopher <echristo at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 Apr 2006 22:21:31 -0700
- Subject: Re: [patch] improve handling of ms_struct
- References: <D66E4746-A612-4016-A959-E33A703DB24C@apple.com>
Eric Christopher wrote:
The ms_struct attribute is, I believe, supposed to be for layout out
structures as close to the MS layout as we can. It turns out that it's
not just the bitfield packing, but the rest of the structure layout
and alignment as well.
Here's a brief description of the layout:
This should be added into appropriate .texi docs (if it is not already
described). Did you forget to include test cases ?
-
Devang