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 <dougk...@google.com> Backport from mainline 2011-03-23 Julian Brown <jul...@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...@arm.com> * expr.c (expand_expr_real_1): Correctly handle strict volatile bitfield loads smaller than mode size. 2011-12-22 Doug Kwan <dougk...@google.com> Backport from mainline 2011-11-20 Joey Ye <joey...@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