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
/
ordered-1.c
blob
0b02aa8a5268fabf81782d7b5469b7a95f0449af
1
/* { dg-do compile } */
2
/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
3
4
extern
void
bar
(
int
);
5
6
void
foo
(
void
)
7
{
8
#pragma omp ordered
9
bar
(
0
);
10
11
#pragma omp ordered
12
{
13
bar
(
1
);
14
bar
(
2
);
15
}
16
}
17
18
/* { dg-final { scan-tree-dump-times "GOMP_ordered_start" 2 "ompexp" } } */
19
/* { dg-final { scan-tree-dump-times "GOMP_ordered_end" 2 "ompexp" } } */