diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-03-27 12:10:07 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-03-27 12:10:07 +0000 |
commit | 4d688c9a17b7f64625582073ff3ca578ecf74306 (patch) | |
tree | 20b653b4b4e16cf95792861f502c6337daf3e3b7 /libgomp | |
parent | 88e7d85fba68f0f9f3d87f14899dbcb6018a2844 (diff) | |
download | gcc-4d688c9a17b7f64625582073ff3ca578ecf74306.zip gcc-4d688c9a17b7f64625582073ff3ca578ecf74306.tar.gz gcc-4d688c9a17b7f64625582073ff3ca578ecf74306.tar.bz2 |
Scale down libgomp.graphite/force-parallel-6.c
2015-03-27 Tom de Vries <tom@codesourcery.com>
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
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 6 | ||||
-rw-r--r-- | 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 6536fd3..f9ea054 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2015-03-27 Tom de Vries <tom@codesourcery.com> + + 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 <ktietz@redhat.com> PR libgomp/64972 diff --git a/libgomp/testsuite/libgomp.graphite/force-parallel-6.c b/libgomp/testsuite/libgomp.graphite/force-parallel-6.c index 5071630..e9e4b56 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++) |