(Apply commit
3e4c369 from 'master' branch.)
* src/atomic_ops/sysdeps/gcc/mips.h (AO_compare_and_swap): Use "+m"
asm constraint for *addr instead of "+R" (the letter is unsupported
by clang3.1 resulting in "invalid output constraint in asm" error).
Conflicts:
src/atomic_ops/sysdeps/gcc/mips.h
" beqz %0, 1b \n"
" li %2, 1 \n"
"2: "
- : "=&r" (temp), "+R" (*addr), "+r" (was_equal)
+ : "=&r" (temp), "+m" (*addr), "+r" (was_equal)
: "r" (new_val), "r" (old)
: "memory");
return was_equal;