2 /* { dg-options "-O3 -fcilkplus" } */
4 /* FIXME: This test has been xfailed until reductions are fixed. */
13 reduction_simd (int *a
)
17 #pragma simd reduction (+:s)
18 for (int i
= 0; i
< N
; i
++)
29 int *a
= (int *) malloc (N
* sizeof (int));
30 int i
, s
= (N
- 1) * N
/ 2;
32 for (i
= 0; i
< N
; i
++)
37 printf ("%d, %d\n", s
, reduction_simd (a
));
39 if (s
== reduction_simd (a
))