OSDN Git Service

PR libgomp/51298
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2011 04:44:13 +0000 (04:44 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2011 04:44:13 +0000 (04:44 +0000)
commit7262c91fbd64f7e78cfeccec212f61a55821f68c
treee4a5194d50d93bce1bed4e9d8b3ca217c3d12b9e
parenta28ddb67e7d93f5ba095c28af9a14b991b2cbcfd
PR libgomp/51298
* config/linux/bar.h: Use atomic rather than sync builtins.
* config/linux/bar.c: Likewise.  Add missing acquire
synchronisation on generation field.
* task.c (gomp_barrier_handle_tasks): Regain lock so as to not
double unlock.

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