]> gcc.gnu.org Git - gcc.git/commit
testsuite: tsan: add fallback overload for pthread_cond_clockwait
authorAlexandre Oliva <oliva@adacore.com>
Wed, 15 Nov 2023 01:16:29 +0000 (22:16 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 15 Nov 2023 01:24:28 +0000 (22:24 -0300)
commitf5d94999ee6a7bd247c3d74959ebdd46334d7804
treecaf20c7d21cf363adc641b6fc21d0d3069c65b0a
parenta9a0daa3e55733318c5ad25c7420da0417d5b650
testsuite: tsan: add fallback overload for pthread_cond_clockwait

LTS GNU/Linux distros from 2018, still in use, don't have
pthread_cond_clockwait.  There's no trivial way to detect it so as to
make the test conditional, but there's an easy enough way to silence
the fail due to lack of the function in libc, and that has nothing to
do with the false positive that this is testing against.

for  gcc/testsuite/ChangeLog

* g++.dg/tsan/pthread_cond_clockwait.C: Add fallback overload.
gcc/testsuite/g++.dg/tsan/pthread_cond_clockwait.C
This page took 0.059791 seconds and 5 git commands to generate.