summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/c-c++-common/cilk-plus
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/cilk-plus')
-rw-r--r--gcc/testsuite/c-c++-common/cilk-plus/AN/gather_scatter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/c-c++-common/cilk-plus/AN/gather_scatter.c b/gcc/testsuite/c-c++-common/cilk-plus/AN/gather_scatter.c
index 9cb16e147fe..faee3fcebf6 100644
--- a/gcc/testsuite/c-c++-common/cilk-plus/AN/gather_scatter.c
+++ b/gcc/testsuite/c-c++-common/cilk-plus/AN/gather_scatter.c
@@ -1,16 +1,16 @@
/* { dg-do run } */
/* { dg-options "-fcilkplus" } */
-#define NUMBER 100
+#define NUMBER 20
#if HAVE_IO
#include <stdio.h>
#endif
+float array4[NUMBER][NUMBER][NUMBER][NUMBER];
int main(void)
{
int array[NUMBER][NUMBER], array2[NUMBER], array3[NUMBER], x = 0, y;
- int x_correct, y_correct, ii, jj = 0;
- float array4[NUMBER][NUMBER][NUMBER][NUMBER];
+ int x_correct, y_correct, ii, jj = 0, kk = 0, ll = 0;
for (ii = 0; ii < NUMBER; ii++)
{
for (jj = 0; jj < NUMBER; jj++)
OpenPOWER on IntegriCloud