Hi,
I regularly run into a timeout of libgomp.graphite/force-parallel-6.c (filed as
PR65594).
This patch scales down libgomp.graphite/force-parallel-6.c, which fixes the
timeout.
Committed as approved by Jakub here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65594#c8 .
Thanks,
- Tom
Scale down libgomp.graphite/force-parallel-6.c
2015-03-27 Tom de Vries <t...@codesourcery.com>
* testsuite/libgomp.graphite/force-parallel-6.c (M): Define.
(foo): Use M for non-inner loops to scale down test-case.
---
libgomp/testsuite/libgomp.graphite/force-parallel-6.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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++)
--
1.9.1