Content-Length: 257473 | pFad | http://github.com/postgrespro/postgres/commit/e653c714c25bb8bde0b80b3bf3a220704b71a106

04 Update comment about __sync_lock_test_and_set() bug. · postgrespro/postgres@e653c71 · GitHub
Skip to content

Commit e653c71

Browse files
committed
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.
1 parent cfb7559 commit e653c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/port/atomics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
/*
9090
* gcc or compatible, including clang and icc. Exclude xlc. The ppc64le "IBM
9191
* XL C/C++ for Linux, V13.1.2" emulates gcc, but __sync_lock_test_and_set()
92-
* of one-byte types elicits SIGSEGV.
92+
* of one-byte types elicits SIGSEGV. That bug was gone by V13.1.5 (2016-12).
9393
*/
9494
#if (defined(__GNUC__) || defined(__INTEL_COMPILER)) && !(defined(__IBMC__) || defined(__IBMCPP__))
9595
#include "port/atomics/generic-gcc.h"

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/e653c714c25bb8bde0b80b3bf3a220704b71a106

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy