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
Add support for ARMv8-R architecture
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
pr27416-1.f90
blob
d42e1ef19ab564c623763bf4b146925eb09ba138
1
! PR middle-end/27416
2
! { dg-do run }
3
4
integer
::
j
5
j
=
6
6
!$omp parallel num_threads (4)
7
call
foo
(
j
)
8
!$omp end parallel
9
if
(
j
.
ne
.6
+
16
)
call
abort
10
end
11
12
subroutine
foo
(
j
)
13
integer
::
i
,
j
14
15
!$omp do firstprivate (j) lastprivate (j)
16
do
i
=
1
,
16
17
if
(
i
.
eq
.16
)
j
=
j
+
i
18
end do
19
end subroutine
foo