re PR libgomp/51376 (libgomp taskwait failure)
authorAlan Modra <amodra@gmail.com>
Tue, 22 Jan 2013 11:41:53 +0000 (22:11 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 22 Jan 2013 11:41:53 +0000 (22:11 +1030)
commit9a6472882361988c2a97751dde13aa37f46def16
treefe198ebe6a2ed3b92472162492a8abbaf38411da
parente18600419eb270e0073c45a8da5aa9c7ab10ee77
re PR libgomp/51376 (libgomp taskwait failure)

PR libgomp/51376
PR libgomp/56073
* task.c (GOMP_task): Revert 2011-12-09 change.
(GOMP_taskwait): Likewise.  Instead use atomic load with acquire
barrier to read task->children..
(gomp_barrier_handle_tasks): ..and matching atomic store with
release barrier here when setting parent->children to NULL.

From-SVN: r195370
libgomp/ChangeLog
libgomp/task.c