tsan_barrier.h: New.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 8 Jan 2015 22:17:49 +0000 (22:17 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Thu, 8 Jan 2015 22:17:49 +0000 (22:17 +0000)
commit75d1c391e49488659a2dc1de296802d42fb2ea57
tree3c98228b56a76a6a55c8dc14abfb17f58d73d0ac
parent7c8db13ee3b66cac87319944ed87957a96e1bd6e
tsan_barrier.h: New.

2015-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-c++-common/tsan/tsan_barrier.h: New.
        * c-c++-common/tsan/atomic_stack.c: Reworked to not depend on sleep.
        * c-c++-common/tsan/bitfield_race.c: Likewise.
        * c-c++-common/tsan/fd_pipe_race.c: Likewise.
        * c-c++-common/tsan/mutexset1.c: Likewise.
        * c-c++-common/tsan/race_on_barrier.c: Likewise.
        * c-c++-common/tsan/race_on_mutex.c: Likewise.
        * c-c++-common/tsan/race_on_mutex2.c: Likewise.
        * c-c++-common/tsan/simple_race.c: Likewise.
        * c-c++-common/tsan/simple_stack.c: Likewise.
        * c-c++-common/tsan/sleep_sync.c: Likewise.
        * c-c++-common/tsan/tiny_race.c: Likewise.
        * c-c++-common/tsan/tls_race.c: Likewise.
        * c-c++-common/tsan/write_in_reader_lock.c: Likewise.
        * g++.dg/tsan/aligned_vs_unaligned_race.C: Likewise.
        * g++.dg/tsan/atomic_free.C: Likewise.
        * g++.dg/tsan/atomic_free2.C: Likewise.
        * g++.dg/tsan/cond_race.C: Likewise.
        * g++.dg/tsan/tsan_barrier.h: Copied from c-c++-common/tsan.

From-SVN: r219367
20 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/tsan/atomic_stack.c
gcc/testsuite/c-c++-common/tsan/bitfield_race.c
gcc/testsuite/c-c++-common/tsan/fd_pipe_race.c
gcc/testsuite/c-c++-common/tsan/mutexset1.c
gcc/testsuite/c-c++-common/tsan/race_on_barrier.c
gcc/testsuite/c-c++-common/tsan/race_on_mutex.c
gcc/testsuite/c-c++-common/tsan/race_on_mutex2.c
gcc/testsuite/c-c++-common/tsan/simple_race.c
gcc/testsuite/c-c++-common/tsan/simple_stack.c
gcc/testsuite/c-c++-common/tsan/sleep_sync.c
gcc/testsuite/c-c++-common/tsan/tiny_race.c
gcc/testsuite/c-c++-common/tsan/tls_race.c
gcc/testsuite/c-c++-common/tsan/tsan_barrier.h [new file with mode: 0644]
gcc/testsuite/c-c++-common/tsan/write_in_reader_lock.c
gcc/testsuite/g++.dg/tsan/aligned_vs_unaligned_race.C
gcc/testsuite/g++.dg/tsan/atomic_free.C
gcc/testsuite/g++.dg/tsan/atomic_free2.C
gcc/testsuite/g++.dg/tsan/cond_race.C
gcc/testsuite/g++.dg/tsan/tsan_barrier.h [new file with mode: 0644]