From: Sam Gross Date: Wed, 12 Mar 2025 13:03:04 +0000 (-0400) Subject: gh-131121: Fix `_Py_atomic_store_char_relaxed` memory order (gh-131122) X-Git-Tag: v3.14.0a6~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ffe93faf1db3b90968af1b1d811f39529603780;p=thirdparty%2FPython%2Fcpython.git gh-131121: Fix `_Py_atomic_store_char_relaxed` memory order (gh-131122) --- diff --git a/Include/cpython/pyatomic_gcc.h b/Include/cpython/pyatomic_gcc.h index b179e4c9a185..1566b83b9f6a 100644 --- a/Include/cpython/pyatomic_gcc.h +++ b/Include/cpython/pyatomic_gcc.h @@ -519,7 +519,7 @@ _Py_atomic_store_ullong_relaxed(unsigned long long *obj, static inline void _Py_atomic_store_char_relaxed(char *obj, char value) -{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); } +{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); } static inline void _Py_atomic_store_uchar_relaxed(unsigned char *obj, unsigned char value)