aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorThomas Rodgers <rodgert@twrodgers.com>2021-04-21 10:01:06 -0700
committerThomas Rodgers <rodgert@twrodgers.com>2021-04-21 13:28:08 -0700
commit7eeb8c04e53fa880ee559efb727517ce778d17a0 (patch)
tree621519737fb1cff7636225ea7364b6b25f6244f8 /libgomp
parenta44895ce7ffbc26b4d765c40b5b346f8c9a9b762 (diff)
downloadgcc-7eeb8c04e53fa880ee559efb727517ce778d17a0.zip
gcc-7eeb8c04e53fa880ee559efb727517ce778d17a0.tar.gz
gcc-7eeb8c04e53fa880ee559efb727517ce778d17a0.tar.bz2
[libstdc++] Fix test timeout in stop_calback/destroy.cc
A change was made to __atomic_semaphore::_S_do_try_acquire() to (ideally) let the compare_exchange reload the value of __old rather than always reloading it twice. This causes _M_acquire to spin indefinitely if the value of __old is already 0. libstdc++-v3/ChangeLog: * include/bits/semaphore_base.h: Always reload __old in __atomic_semaphore::_S_do_try_acquire(). * testsuite/30_threads/stop_token/stop_callback/destroy.cc: re-enable testcase.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions