repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
flush-1.c
blob
74a24a86105c9c74b0da0c9a773ce9a3e928393d
1
/* { dg-do compile } */
2
/* { dg-options "-fopenmp -fdump-tree-gimple" } */
3
4
void
f1
(
void
)
5
{
6
#pragma omp flush
7
}
8
9
int
x
,
y
,
z
;
10
11
void
f2
(
_Bool p
)
12
{
13
if
(
p
)
14
{
15
#pragma omp flush (x)
16
}
17
else
18
{
19
#pragma omp flush (x, y, z)
20
}
21
}
22
23
/* { dg-final { scan-tree-dump-times "__sync_synchronize" 3 "gimple" } } */