http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56073



--- Comment #3 from Alan Modra <amodra at gcc dot gnu.org> 2013-02-05 13:40:39 
UTC ---

Author: amodra

Date: Tue Feb  5 13:40:25 2013

New Revision: 195756



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195756

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:

    branches/gcc-4_7-branch/libgomp/ChangeLog

    branches/gcc-4_7-branch/libgomp/task.c

Reply via email to