This is the mail archive of the gcc@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: should sync builtins be full optimization barriers?


Hi,

On Tue, 13 Sep 2011, Andrew MacLeod wrote:

> Your example was not about regular stores, it used atomic variables.

This reads as if there exists non-atomic variables in the new C++ 
mem-model.  Assuming that this is so, why do those ugly requirements of 
not introducing new data races also apply to those non-atomic datas?


Ciao,
Michael.


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