This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51442] volatile bitfields broken on arm
- From: "ramana at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jan 2012 12:12:07 +0000
- Subject: [Bug middle-end/51442] volatile bitfields broken on arm
- Auto-submitted: auto-generated
- References: <bug-51442-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51442
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ramana at gcc dot gnu.org
Resolution| |FIXED
Target Milestone|--- |4.6.3
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-01-11 12:12:07 UTC ---
This should now be fixed by the commit as indicated below -
Brendan - can you confirm this is the case ?
Author: dj
Date: Thu Dec 22 19:36:46 2011
New Revision: 182635
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182635
Log:
2011-12-22 Doug Kwan <dougkwan@google.com>
Backport from mainline
2011-03-23 Julian Brown <julian@codesourcery.com>
* expr.c (expand_expr_real_1): Only use BLKmode for volatile
accesses which are not naturally aligned.
2011-11-20 Joey Ye <joey.ye@arm.com>
* expr.c (expand_expr_real_1): Correctly handle strict volatile
bitfield loads smaller than mode size.
2011-12-22 Doug Kwan <dougkwan@google.com>
Backport from mainline
2011-11-20 Joey Ye <joey.ye@arm.com>
* gcc.dg/volatile-bitfields-1.c: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/volatile-bitfields-1.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/expr.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog