re PR target/65697 (__atomic memory barriers not strong enough for __sync builtins)
authorMatthew Wahab <matthew.wahab@arm.com>
Mon, 1 Jun 2015 15:18:19 +0000 (15:18 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Mon, 1 Jun 2015 15:18:19 +0000 (15:18 +0000)
commitf70fb3b635f9618c6d2ee3848ba836914f7951c2
treefe81d44ef889699582bcebedca3d4329ff80c8fd
parentfc65eccabc6d6e881ff5efcd674aa3791cf8cee6
re PR target/65697 (__atomic memory barriers not strong enough for __sync builtins)

        PR target/65697
* config/aarch64/aarch64.c (aarch64_emit_post_barrier):New.
(aarch64_split_atomic_op): Check for __sync memory models, emit
appropriate initial loads and final barriers.

From-SVN: r223983
gcc/ChangeLog
gcc/config/aarch64/aarch64.c