[Bug libgomp/51376] libgomp taskwait failure
amodra at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 22 11:42:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51376
--- Comment #4 from Alan Modra <amodra at gcc dot gnu.org> 2013-01-22 11:41:56 UTC ---
Author: amodra
Date: Tue Jan 22 11:41:53 2013
New Revision: 195370
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195370
Log:
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.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/task.c
More information about the Gcc-bugs
mailing list