* lib/simple-atomic.c (atomic_compare_and_swap_ptr): Correct asm
instruction.
+2021-03-18 Bruno Haible <bruno@clisp.org>
+
+ simple-atomic: Fix compilation error on Solaris 10/x86_64 with cc.
+ * lib/simple-atomic.c (atomic_compare_and_swap_ptr): Correct asm
+ instruction.
+
2021-03-18 Paul Eggert <eggert@cs.ucla.edu>
argmatch: fix testing typo
return oldval;
# else /* __SUNPRO_C */
# if defined __x86_64__
- asm (" movl %rsi,%rax\n"
+ asm (" movq %rsi,%rax\n"
" lock\n cmpxchgq %rdx,(%rdi)");
# elif defined __i386
asm (" movl 16(%ebp),%ecx\n"