From 4d688c9a17b7f64625582073ff3ca578ecf74306 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 27 Mar 2015 12:10:07 +0000 Subject: [PATCH] Scale down libgomp.graphite/force-parallel-6.c 2015-03-27 Tom de Vries PR testsuite/65594 * testsuite/libgomp.graphite/force-parallel-6.c (M): Define. (foo): Use M for non-inner loops to scale down test-case. From-SVN: r221727 --- libgomp/ChangeLog | 6 ++++++ libgomp/testsuite/libgomp.graphite/force-parallel-6.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 6536fd3c775..f9ea0544c5f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2015-03-27 Tom de Vries + + PR testsuite/65594 + * testsuite/libgomp.graphite/force-parallel-6.c (M): Define. + (foo): Use M for non-inner loops to scale down test-case. + 2015-03-25 Kai Tietz PR libgomp/64972 diff --git a/libgomp/testsuite/libgomp.graphite/force-parallel-6.c b/libgomp/testsuite/libgomp.graphite/force-parallel-6.c index 50716303eaf..e9e4b562488 100644 --- a/libgomp/testsuite/libgomp.graphite/force-parallel-6.c +++ b/libgomp/testsuite/libgomp.graphite/force-parallel-6.c @@ -1,4 +1,5 @@ #define N 500 +#define M 50 int X[2*N], Y[2*N], B[2*N]; int A[2*N][2*N], C[2*N][2*N]; @@ -7,10 +8,10 @@ int foo(void) { int i, j, k; - for (i = 0; i < N; i++) + for (i = 0; i < M; i++) { X[i] = Y[i] + 10; - for (j = 0; j < N; j++) + for (j = 0; j < M; j++) { B[j] = A[j][N]; for (k = 0; k < N; k++) -- 2.30.2