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.4.f90
blob
e44952263f1ac39d34a4db2b90bb4f92cd14f814
1
! { dg-do compile }
2
3
SUBROUTINE
WRONG4
(
N
)
4
INTEGER
N
5
INTEGER
I
6
!$OMP PARALLEL DEFAULT(SHARED)
7
!$OMP DO
8
DO
I
=
1
,
N
9
CALL
WORK
(
I
,
1
)
10
! incorrect nesting of barrier region in a loop region
11
!$OMP BARRIER
12
CALL
WORK
(
I
,
2
)
13
END DO
14
!$OMP END PARALLEL
15
END SUBROUTINE
WRONG4