Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide char/short-width CAS for RISC-V w/o -latomic if gcc v14+
gcc/riscv (as of v14.0) does not require the client to add -latomic flag any more if char- or short-width compare-and-swap or an arithmetic primitive is used. * src/atomic_ops/sysdeps/gcc/riscv.h [!__clang__ && !AO_PREFER_BUILTIN_ATOMICS] (AO_NO_char_ARITHM, AO_NO_short_ARITHM): Do not define if AO_GNUC_PREREQ(14,0).
- Loading branch information