PR libgomp/55561
commit29416343179a978767229f20f32f5c7835c41c99
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jan 2013 16:57:09 +0000 (31 16:57 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jan 2013 16:57:09 +0000 (31 16:57 +0000)
tree511384c5028ea479fc37eda7be114e6ad0972088
parent7046891f7f7d911a22e17ace4706124123488835
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195618 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/config/linux/ptrlock.c
libgomp/config/linux/ptrlock.h
libgomp/config/linux/wait.h