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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy