On 03/16/2013 06:29 AM, Andi Kleen wrote:
> 2013-03-15 Andi Kleen
>
> * gcas.c: (EXACT_INLINE): Use __ATOMIC_SEQ_CST.
> * gexch.c: (EXACT_INLINE): Use __ATOMIC_SEQ_CST.
> * gload.c: (EXACT_INLINE): Use __ATOMIC_SEQ_CST.
> * gstore.c: (EXACT_INLINE): Use __ATOMIC_SEQ_CST.
From: Andi Kleen
x86 ends up using non constant memory models for some of the libatomic
functions. These all end up as __ATOMIC_SEQ_CST. Just use this
directly. This avoids a new warning for non constant memory
models, which broke the bootstrap with -Werror
Passed bootstrap and test on x86_64-li