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
PR c++/86342 - -Wdeprecated-copy and system headers.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
pr71014.f90
blob
7fcbf73862dfd3a6d4ed71beaaf4deceed65ec38
1
! PR fortran/71014
2
! { dg-do run }
3
! { dg-additional-options "-O0" }
4
5
program
pr71014
6
implicit none
7
integer
::
i
,
j
8
integer
,
parameter
::
t
=
100
*
101
/
2
9
integer
::
s
(
16
)
10
s
(:) =
0
11
!$omp parallel do
12
do
j
=
1
,
16
13
associate
(
k
=>
j
)
14
do
i
=
1
,
100
15
s
(
j
) =
s
(
j
) +
i
16
end do
17
end
associate
18
end do
19
if
(
any
(
s
/=
t
))
STOP
1
20
end program
pr71014