This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix __atomic to not implement atomic loads with CAS.
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 4 Feb 2017 15:28:42 +0100
- Subject: Re: [PATCH] Fix __atomic to not implement atomic loads with CAS.
- Authentication-results: sourceware.org; auth=none
> This patch fixes the __atomic builtins to not implement supposedly
> lock-free atomic loads based on just a compare-and-swap operation.
> …
Commit r245098 caused
New failures:
FAIL: libgomp.c/atomic-2.c (test for excess errors)
FAIL: libgomp.c/atomic-4.c (test for excess errors)
FAIL: libgomp.c/atomic-5.c (test for excess errors)
FAIL: libgomp.c/pr48591.c (test for excess errors)
FAIL: libgomp.c/pr64868.c (test for excess errors)
FAIL: libgomp.c++/pr64868.C (test for excess errors)
(see https://gcc.gnu.org/ml/gcc-regression/2017-02/msg00011.html). The error is
Undefined symbols for architecture x86_64:
"___atomic_load_16", referenced from:
TIA,
Dominique