1 /* PR middle-end/56883 */
3 /* { dg-options "-O2 -fopenmp" } */
9 #pragma omp parallel for
10 for (i
= 0; i
< 10; ++i
)
12 #pragma omp parallel shared(j)
14 for (j
= 0; j
< 10; ++j
)
16 #pragma omp parallel for
17 for (k
= 0; k
< 10; ++k
)
27 #pragma omp parallel for schedule(static,1)
28 for (i
= 0; i
< 10; ++i
)
30 #pragma omp parallel shared(j)
31 #pragma omp for schedule(static,1)
32 for (j
= 0; j
< 10; ++j
)
34 #pragma omp parallel for schedule(static,1)
35 for (k
= 0; k
< 10; ++k
)
45 #pragma omp parallel for schedule(runtime)
46 for (i
= 0; i
< 10; ++i
)
48 #pragma omp parallel shared(j)
49 #pragma omp for schedule(runtime)
50 for (j
= 0; j
< 10; ++j
)
52 #pragma omp parallel for schedule(runtime)
53 for (k
= 0; k
< 10; ++k
)