Uros Bizjak <ubiz...@gmail.com> writes: > > 2013-01-15 Uros Bizjak <ubiz...@gmail.com> > > * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument > with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. > * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. > (expand_mem_thread_fence): Ditto. > (expand_mem_signal_fence): Ditto. > (expand_atomic_load): Ditto. > (expand_atomic_store): Ditto. > > Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. > > OK for mainline?
Looks good to me (but I cannot approve) -Andi