aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-08-04 15:45:50 +0000
committerJakub Jelinek <jakub@redhat.com>2014-08-04 15:45:50 +0000
commite013afce9a0ca9bd8bacf03352f325afb9b3e54e (patch)
tree802bd51205c193f686bd365074adad2cdcb92704 /libgomp/testsuite/libgomp.c
parent790a14f74840d85d30e68d117eb0b591bc4c7a33 (diff)
* 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: https://gcc.gnu.org/svn/gcc/trunk@213592 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/libgomp.c')
-rw-r--r--libgomp/testsuite/libgomp.c/depend-10.c3
-rw-r--r--libgomp/testsuite/libgomp.c/depend-6.c3
-rw-r--r--libgomp/testsuite/libgomp.c/depend-7.c3
-rw-r--r--libgomp/testsuite/libgomp.c/depend-8.c3
-rw-r--r--libgomp/testsuite/libgomp.c/depend-9.c3
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 00000000000..2137bf9471d
--- /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 00000000000..d30e6e9dd90
--- /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 00000000000..bd4a3f9dec0
--- /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 00000000000..4dcce671c09
--- /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 00000000000..a52c47ac6db
--- /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"