diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2017-09-04 13:16:37 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2017-09-04 13:16:37 +0300 |
commit | d8c40eff56f69877b33c697ded756d50fde90c27 (patch) | |
tree | e4a696a0929438cfbf6c366ebc3ea949267a4f51 /gcc/config/mips/mips.h | |
parent | 1fda57cb2dc323c7d387ab0df9de708c0889be0d (diff) | |
download | gcc-d8c40eff56f69877b33c697ded756d50fde90c27.tar.gz |
optabs: ensure atomic_load/stores have compiler barriers
PR rtl-optimization/57448
PR target/67458
PR target/81316
* optabs.c (expand_atomic_load): Place compiler memory barriers if
using atomic_load pattern.
(expand_atomic_store): Likewise.
testsuite/
* gcc.dg/atomic/pr80640-2.c: New testcase.
* gcc.dg/atomic/pr81316.c: New testcase.
From-SVN: r251643
Diffstat (limited to 'gcc/config/mips/mips.h')
0 files changed, 0 insertions, 0 deletions