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
/
pr48716.c
blob
3496e2f0227ce103f2e06b180df52677876f4696
1
/* PR c/48716 */
2
/* { dg-do compile } */
3
/* { dg-options "-fopenmp" } */
4
5
int
6
main
(
void
)
7
{
8
#pragma omp parallel default(none)
9
{
10
static int
s
;
11
int
t
=
0
;
12
#pragma omp atomic
13
s
++;
14
t
++;
15
}
16
#pragma omp task default(none)
17
{
18
static int
s
;
19
int
t
=
0
;
20
#pragma omp atomic
21
s
++;
22
t
++;
23
}
24
}