diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-08-04 17:45:50 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-08-04 17:45:50 +0200 |
commit | 3696163cb43bdd7c3a22bef46a0e3f4576d0fc44 (patch) | |
tree | 802bd51205c193f686bd365074adad2cdcb92704 /libgomp/testsuite | |
parent | c6d4f6b465566cfec138c47702727fcf5c09c7e2 (diff) | |
download | gcc-3696163cb43bdd7c3a22bef46a0e3f4576d0fc44.zip gcc-3696163cb43bdd7c3a22bef46a0e3f4576d0fc44.tar.gz gcc-3696163cb43bdd7c3a22bef46a0e3f4576d0fc44.tar.bz2 |
task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero...
* 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.
From-SVN: r213592
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r-- | libgomp/testsuite/libgomp.c/depend-10.c | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/depend-6.c | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/depend-7.c | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/depend-8.c | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/depend-9.c | 3 |
5 files changed, 15 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.c/depend-10.c b/libgomp/testsuite/libgomp.c/depend-10.c new file mode 100644 index 0000000..2137bf9 --- /dev/null +++ b/libgomp/testsuite/libgomp.c/depend-10.c @@ -0,0 +1,3 @@ +/* { dg-set-target-env-var OMP_NUM_THREADS "1" } */ + +#include "depend-5.c" diff --git a/libgomp/testsuite/libgomp.c/depend-6.c b/libgomp/testsuite/libgomp.c/depend-6.c new file mode 100644 index 0000000..d30e6e9 --- /dev/null +++ b/libgomp/testsuite/libgomp.c/depend-6.c @@ -0,0 +1,3 @@ +/* { dg-set-target-env-var OMP_NUM_THREADS "1" } */ + +#include "depend-1.c" diff --git a/libgomp/testsuite/libgomp.c/depend-7.c b/libgomp/testsuite/libgomp.c/depend-7.c new file mode 100644 index 0000000..bd4a3f9 --- /dev/null +++ b/libgomp/testsuite/libgomp.c/depend-7.c @@ -0,0 +1,3 @@ +/* { dg-set-target-env-var OMP_NUM_THREADS "1" } */ + +#include "depend-2.c" diff --git a/libgomp/testsuite/libgomp.c/depend-8.c b/libgomp/testsuite/libgomp.c/depend-8.c new file mode 100644 index 0000000..4dcce67 --- /dev/null +++ b/libgomp/testsuite/libgomp.c/depend-8.c @@ -0,0 +1,3 @@ +/* { dg-set-target-env-var OMP_NUM_THREADS "1" } */ + +#include "depend-3.c" diff --git a/libgomp/testsuite/libgomp.c/depend-9.c b/libgomp/testsuite/libgomp.c/depend-9.c new file mode 100644 index 0000000..a52c47a --- /dev/null +++ b/libgomp/testsuite/libgomp.c/depend-9.c @@ -0,0 +1,3 @@ +/* { dg-set-target-env-var OMP_NUM_THREADS "1" } */ + +#include "depend-4.c" |