[Bug c/27628] Incorrect memory access type used used in accessing bitfields

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Tue May 16 12:40:00 GMT 2006



------- Comment #1 from falk at debian dot org  2006-05-16 12:40 -------
There is no guarantee that this happens, and it would suppress many useful
optimizations.

However, if you mark the fields as volatile, the ARM ABI guarantees that
the access will be in the specified width (and after PR 23623 has been fixed,
gcc should follow this).


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27628



More information about the Gcc-bugs mailing list