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
Merge from mainline
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
appendix-a
/
a.35.5.f90
blob
083c0b3b7232efb217acdee83eb3324e8a833d18
1
! { dg-do compile }
2
3
SUBROUTINE
WRONG5
(
N
)
4
INTEGER
N
5
!$OMP PARALLEL DEFAULT(SHARED)
6
!$OMP CRITICAL
7
CALL
WORK
(
N
,
1
)
8
! incorrect nesting of barrier region in a critical region
9
!$OMP BARRIER
10
CALL
WORK
(
N
,
2
)
11
!$OMP END CRITICAL
12
!$OMP END PARALLEL
13
END SUBROUTINE
WRONG5