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

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

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