Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / for-24.c
blobd04d82a6c008b5922d0748a5c04a27950c33d7a3
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fopenmp -fdump-tree-ssa" } */
4 extern void bar(int);
6 void foo (void)
8 int i;
10 #pragma omp parallel for schedule (nonmonotonic : dynamic, 4)
11 for (i = 0; i < 37; ++i)
12 bar(i);
15 /* { dg-final { scan-tree-dump-times "GOMP_parallel_loop_nonmonotonic_dynamic" 1 "ssa" } } */
16 /* { dg-final { scan-tree-dump-times "GOMP_loop_nonmonotonic_dynamic_start" 0 "ssa" } } */
17 /* { dg-final { scan-tree-dump-times "GOMP_loop_nonmonotonic_dynamic_next" 2 "ssa" } } */