This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52238] -mms-bitfields: __attribute__ ((aligned (n))) ignored for struct members
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Feb 2012 22:09:52 +0000
- Subject: [Bug target/52238] -mms-bitfields: __attribute__ ((aligned (n))) ignored for struct members
- Auto-submitted: auto-generated
- References: <bug-52238-4@http.gcc.gnu.org/bugzilla/>
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)