* task.c (GOMP_taskgroup_end): If taskgroup->num_children
commitf2c1add2c05e012502b1aca5bc23d094c8c431e4
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Aug 2014 15:45:50 +0000 (4 15:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Aug 2014 15:45:50 +0000 (4 15:45 +0000)
tree802bd51205c193f686bd365074adad2cdcb92704
parent406e3845ac1226685b509d22a06c53da9f39f01f
* task.c (GOMP_taskgroup_end): If taskgroup->num_children
is not zero, but taskgroup->children is NULL and there are
any task->children, schedule those instead of waiting.
* testsuite/libgomp.c/depend-6.c: New test.
* testsuite/libgomp.c/depend-7.c: New test.
* testsuite/libgomp.c/depend-8.c: New test.
* testsuite/libgomp.c/depend-9.c: New test.
* testsuite/libgomp.c/depend-10.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213592 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/task.c
libgomp/testsuite/libgomp.c/depend-10.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/depend-6.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/depend-7.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/depend-8.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/depend-9.c [new file with mode: 0644]