* emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Jan 2013 07:10:21 +0000 (07:10 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Jan 2013 07:10:21 +0000 (07:10 +0000)
commit1a9fa1dde5aad0a74b33ba3963a63f92ef4c9a24
tree9477e573e8737008d7fa38034cbb5298d49d4610
parentbb2bc4f3d488a9cfc7e534907a52ec57e23a7fd6
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195228 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/emit-rtl.c
gcc/optabs.c