summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.graphite/force-parallel-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.graphite/force-parallel-1.c')
-rw-r--r--libgomp/testsuite/libgomp.graphite/force-parallel-1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.graphite/force-parallel-1.c b/libgomp/testsuite/libgomp.graphite/force-parallel-1.c
index 245e64c6271..0393356f9f2 100644
--- a/libgomp/testsuite/libgomp.graphite/force-parallel-1.c
+++ b/libgomp/testsuite/libgomp.graphite/force-parallel-1.c
@@ -7,6 +7,9 @@ void parloop (int N)
int i;
for (i = 0; i < N; i++)
+ x[i] = i + 1;
+
+ for (i = 0; i < N; i++)
x[i] = i + 3;
for (i = 0; i < N; i++)
@@ -24,5 +27,5 @@ int main(void)
}
/* Check that parallel code generation part make the right answer. */
-/* { dg-final { scan-tree-dump-times "1 loops carried no dependency" 1 "graphite" } } */
-/* { dg-final { scan-tree-dump-times "loopfn" 4 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "2 loops carried no dependency" 1 "graphite" } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 8 "optimized" } } */