re PR sanitizer/55561 (TSAN: provide a TSAN instrumented libgomp)
authorDmitry Vyukov <dvyukov@gcc.gnu.org>
Thu, 31 Jan 2013 16:57:09 +0000 (08:57 -0800)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 Jan 2013 16:57:09 +0000 (17:57 +0100)
commit3b35cd045fa64576748bec13214631de1a9d8e07
tree511384c5028ea479fc37eda7be114e6ad0972088
parent246a84e0d98cabfd5fa11f30982983def15ca179
re PR sanitizer/55561 (TSAN: provide a TSAN instrumented libgomp)

PR libgomp/55561
* config/linux/wait.h (do_spin): Use atomic load for addr.
* config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic
for intptr and ptrlock.
* config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load
for ptrlock.

Co-Authored-By: Joost VandeVondele <Joost.VandeVondele@mat.ethz.ch>
From-SVN: r195618
libgomp/ChangeLog
libgomp/config/linux/ptrlock.c
libgomp/config/linux/ptrlock.h
libgomp/config/linux/wait.h