This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix C++0x memory model for -fno-strict-volatile-bitfields on ARM


On Fri, 25 Oct 2013, Richard Biener wrote:

> Btw, the C++ standard doesn't cover packed or aligned attributes so
> we could declare this a non-issue.  Any opinion on that?

I think the memory model naturally applies to packed structures (i.e., 
writes to fields in them should not write to any other fields except as 
part of a sequence of consecutive non-zero-width bit-fields, unless 
allow-store-data-races is set).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]