------- Comment #1 from jakub at gcc dot gnu dot org 2010-01-26 09:14 ------- Created an attachment (id=19708) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19708&action=view) gcc45-pr42866.patch
Patch I'm testing. BTW, the provided testcase is wrong, if more than one section is scheduled on the same thread, it will abort. The problem is that it overwrites the reduction array in each section rather than adds to it, so it can only succeed if each section is scheduled in a different thread. But scheduling of !$omp sections is implementation defined, there are no restrictions on that choice. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42866