1 /* PR middle-end/30494 */
9 check (int m
, int i
, int *v
, int *w
)
12 int n
= omp_get_thread_num ();
13 for (j
= 0; j
< m
; j
++)
17 for (j
= 0; j
< m
* 3 + i
; j
++)
18 if (w
[j
] != j
+ 10 + n
)
28 for (i
= 0; i
< 6; i
++)
30 int v
[n
], w
[n
* 3 + i
], j
;
31 for (j
= 0; j
< n
; j
++)
32 v
[j
] = j
+ omp_get_thread_num ();
33 for (j
= 0; j
< n
* 3 + i
; j
++)
34 w
[j
] = j
+ 10 + omp_get_thread_num ();
44 #pragma omp parallel for num_threads (4)
45 for (i
= 0; i
< 6; i
++)
47 int v
[n
], w
[n
* 3 + i
], j
;
48 for (j
= 0; j
< n
; j
++)
49 v
[j
] = j
+ omp_get_thread_num ();
50 for (j
= 0; j
< n
* 3 + i
; j
++)
51 w
[j
] = j
+ 10 + omp_get_thread_num ();
60 #pragma omp parallel num_threads (3)