[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / ordered-1.c
blob0b02aa8a5268fabf81782d7b5469b7a95f0449af
1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-ompexp" } */
4 extern void bar(int);
6 void foo (void)
8 #pragma omp ordered
9 bar(0);
11 #pragma omp ordered
13 bar(1);
14 bar(2);
18 /* { dg-final { scan-tree-dump-times "GOMP_ordered_start" 2 "ompexp" } } */
19 /* { dg-final { scan-tree-dump-times "GOMP_ordered_end" 2 "ompexp" } } */