Commit 5e3b173a by Yvan Roux Committed by Richard Henderson

* optabs.c (expand_atomic_store): Elide redundant model test.

From-SVN: r194504
parent ebd3e642
2012-12-14 Yvan Roux <yvan.roux@linaro.org>
* optabs.c (expand_atomic_store): Elide redundant model test.
2012-12-14 Teresa Johnson <tejohnson@google.com> 2012-12-14 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/55674 PR gcov-profile/55674
...@@ -7537,7 +7537,6 @@ expand_atomic_store (rtx mem, rtx val, enum memmodel model, bool use_release) ...@@ -7537,7 +7537,6 @@ expand_atomic_store (rtx mem, rtx val, enum memmodel model, bool use_release)
} }
/* Otherwise assume stores are atomic, and emit the proper barriers. */ /* Otherwise assume stores are atomic, and emit the proper barriers. */
if (model == MEMMODEL_SEQ_CST || model == MEMMODEL_RELEASE)
expand_mem_thread_fence (model); expand_mem_thread_fence (model);
emit_move_insn (mem, val); emit_move_insn (mem, val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment