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 stor-layout]: Fix PR 52238 - -mms-bitfields: __attribute__ ((aligned (n))) ignored for struct members


2012/2/20 Richard Henderson <rth@redhat.com>:
> On 02/17/12 04:15, Kai Tietz wrote:
>> 2012-02-17 ?Kai Tietz ?<ktietz@redhat.com>
>>
>> ? ? ? PR target/52238
>> ? ? ? * stor-layout.c (place_field): Handle desired_align for
>> ? ? ? ms-bitfields, too.
>>
>> 2012-02-17 ?Kai Tietz ?<ktietz@redhat.com>
>>
>> ? ? ? * gcc.dg/bf-ms-layout-3.c: New testcase.
>
> As I mentioned on IRC, please use the attribute instead of -mms-bitfields.
>
> Otherwise ok.
>
>
> r~

Ok applied with adjusted testcase at rev. 184409 to trunk, and
back-merged change to 4.6.x branch at rev 184410.

This bug reaches back at least to 4.2, but I think a back-merge to 4.6
is enough here.

Thanks,
Kai


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