https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65697
--- Comment #71 from mwahab at gcc dot gnu.org --- Author: mwahab Date: Wed Aug 5 13:40:14 2015 New Revision: 226627 URL: https://gcc.gnu.org/viewcvs?rev=226627&root=gcc&view=rev Log: Backport from trunk: 2015-06-29 Matthew Wahab <matthew.wa...@arm.com> PR target/65697 * config/arm/arm.c (arm_split_compare_and_swap): For ARMv8, replace an initial acquire barrier with final barrier. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/arm/arm.c