* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / flush-1.c
blobd1a4d4a5bfb2debc35d4fdd5be3a044c3634f06f
1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-gimple" } */
4 void f1(void)
6 #pragma omp flush
9 int x, y, z;
11 void f2(_Bool p)
13 if (p)
15 #pragma omp flush (x)
17 else
19 #pragma omp flush (x, y, z)
23 /* { dg-final { scan-tree-dump-times "__sync_synchronize" 3 "gimple" } } */
24 /* { dg-final { cleanup-tree-dump "gimple" } } */