[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

sandra at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 24 00:03:00 GMT 2013


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

--- Comment #8 from Sandra Loosemore <sandra at codesourcery dot com> ---
Thanks for giving it a try.  Do you think that in a case such as this where a
single access of the appropriate size cannot be generated due to the struct
having unaligned fields we should generate the same code as with
-fno-strict-volatile-bitfields, or something else?  I agree the behavior of my
current patch is problematical here, but we need to decide what this case is
supposed to do before I can figure out how to fix the code.



More information about the Gcc-bugs mailing list