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
* crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
pr29629.f90
blob
9ccddffb03921fa68062362518320c98affc5a86
1
! PR fortran/29629
2
! { dg-do run }
3
4
program
pr29629
5
integer
::
n
6
n
=
10000
7
if
(
any
(
func
(
n
).
ne
.10000
))
call
abort
8
contains
9
function
func
(
n
)
10
integer
,
intent
(
in
) ::
n
11
integer
,
dimension
(
n
) ::
func
12
integer
::
k
13
func
=
0
14
!$omp parallel do private(k), reduction(+:func), num_threads(4)
15
do
k
=
1
,
n
16
func
=
func
+
1
17
end do
18
!$omp end parallel do
19
end function
20
end program