[Bug target/52238] -mms-bitfields: __attribute__ ((aligned (n))) ignored for struct members
ktietz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 20 22:19:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52238
--- Comment #10 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-02-20 22:09:52 UTC ---
Author: ktietz
Date: Mon Feb 20 22:09:48 2012
New Revision: 184410
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184410
Log:
PR target/52238
* stor-layout.c (place_field): Handle desired_align for
ms-bitfields, too.
* gcc.dg/bf-ms-layout-3.c: New testcase.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/bf-ms-layout-3.c (with
props)
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/stor-layout.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
Propchange: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/bf-ms-layout-3.c
('svn:eol-style' added)
Propchange: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/bf-ms-layout-3.c
('svn:mime-type' added)
More information about the Gcc-bugs
mailing list