repo.or.cz
/
gcc-git-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc-git-mirror.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
allocatable5.f90
blob
73027e7082c81be7125db5046a4edb77d3d567b2
1
! PR fortran/42866
2
! { dg-do run }
3
4
program
pr42866
5
integer
,
allocatable
::
a
(:)
6
allocate
(
a
(
16
))
7
a
=
0
8
!$omp parallel
9
!$omp sections reduction(+:a)
10
a
=
a
+
1
11
!$omp section
12
a
=
a
+
2
13
!$omp end sections
14
!$omp end parallel
15
if
(
any
(
a
.
ne
.3
))
stop
1
16
deallocate
(
a
)
17
end