]> granicus.if.org Git - postgresql/commitdiff
Update comment about __sync_lock_test_and_set() bug.
authorNoah Misch <noah@leadboat.com>
Sat, 26 Oct 2019 19:55:06 +0000 (12:55 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 26 Oct 2019 19:55:06 +0000 (12:55 -0700)
State the earliest known fixed version, so we can someday judge the
workaround to be obsolete.

src/include/port/atomics.h

index 363e1df4bf89f8bd086a04092cecc3e9651f08c5..94942dff3b0aece9debef563f274a2075f9d0cd2 100644 (file)
@@ -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"