diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-09-14 11:01:49 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-09-14 11:01:49 +0200 |
commit | 5ba4a08cc68ddd5fccfa16c419130ea63daf7640 (patch) | |
tree | 5e531f060222a533f2c6e86459883b8b39120199 /libgomp | |
parent | 130ffea03c8226065628437f9611c029f21fcc62 (diff) | |
download | gcc-5ba4a08cc68ddd5fccfa16c419130ea63daf7640.zip gcc-5ba4a08cc68ddd5fccfa16c419130ea63daf7640.tar.gz gcc-5ba4a08cc68ddd5fccfa16c419130ea63daf7640.tar.bz2 |
re PR sanitizer/68260 (false positive with tsan)
PR sanitizer/68260
* tsan.c: Include target.h.
(enum tsan_atomic_action): Add bool_clear and bool_test_and_set.
(BOOL_CLEAR, BOOL_TEST_AND_SET): Define.
(tsan_atomic_table): Add BUILT_IN_ATOMIC_CLEAR and
BUILT_IN_ATOMIC_TEST_AND_SET entries.
(instrument_builtin_call): Handle bool_clear and bool_test_and_set.
* c-c++-common/tsan/pr68260.c: New test.
From-SVN: r240129
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions