diff options
author | Noah Misch <noah@leadboat.com> | 2019-10-26 12:55:06 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2019-10-26 12:55:06 -0700 |
commit | e653c714c25bb8bde0b80b3bf3a220704b71a106 (patch) | |
tree | 094ef19a9173097d4d658d553ee00f21ea7623fa /src | |
parent | cfb7559083436b802e7ecc5e3fa235057890265c (diff) | |
download | postgresql-e653c714c25bb8bde0b80b3bf3a220704b71a106.tar.gz postgresql-e653c714c25bb8bde0b80b3bf3a220704b71a106.zip |
Update comment about __sync_lock_test_and_set() bug.
State the earliest known fixed version, so we can someday judge the
workaround to be obsolete.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/port/atomics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/atomics.h b/src/include/port/atomics.h index 363e1df4bf8..94942dff3b0 100644 --- a/src/include/port/atomics.h +++ b/src/include/port/atomics.h @@ -89,7 +89,7 @@ /* * gcc or compatible, including clang and icc. Exclude xlc. The ppc64le "IBM * XL C/C++ for Linux, V13.1.2" emulates gcc, but __sync_lock_test_and_set() - * of one-byte types elicits SIGSEGV. + * of one-byte types elicits SIGSEGV. That bug was gone by V13.1.5 (2016-12). */ #if (defined(__GNUC__) || defined(__INTEL_COMPILER)) && !(defined(__IBMC__) || defined(__IBMCPP__)) #include "port/atomics/generic-gcc.h" |