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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
appendix-a
/
a.35.4.f90
blob
f130dd5f480742aeb6f2526492d852055c01009d
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 ! { dg-warning "may not be closely nested" }
12
CALL
WORK
(
I
,
2
)
13
END DO
14
!$OMP END PARALLEL
15
END SUBROUTINE
WRONG4