This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/51376] libgomp taskwait failure
- From: "amodra at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Jan 2013 21:52:03 +0000
- Subject: [Bug libgomp/51376] libgomp taskwait failure
- Auto-submitted: auto-generated
- References: <bug-51376-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51376
--- Comment #5 from Alan Modra <amodra at gcc dot gnu.org> 2013-01-24 21:52:03 UTC ---
Author: amodra
Date: Thu Jan 24 21:51:58 2013
New Revision: 195444
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195444
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.
Added:
branches/ibm/gcc-4_7-branch/libgomp/ChangeLog.ibm
Modified:
branches/ibm/gcc-4_7-branch/libgomp/task.c