1 /* { dg-do run { target { i?86-*-* x86_64-*-* } } } */
2 /* { dg-options "-fcilkplus" } */
3 /* { dg-additional-options "-std=gnu99" { target c } } */
4 /* { dg-additional-options "-lcilkrts" { target { i?86-*-* x86_64-*-* } } } */
8 /* <feature> loop control variable must have integer, pointer or class type
12 #define ARRAY_SIZE 10000
19 for (ii
=0; ii
< ARRAY_SIZE
; ii
++)
21 _Cilk_for(int *aa
= a
; aa
< a
+ ARRAY_SIZE
; aa
++)
23 for (ii
= 0; ii
< ARRAY_SIZE
; ii
++)
27 _Cilk_for (int *aa
= a
; aa
< a
+ ARRAY_SIZE
; aa
= aa
+ 2)
30 for (ii
= 0; ii
< ARRAY_SIZE
; ii
= ii
+ 2)