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
C++: simplify output from suggest_alternatives_for
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
allocatable7.f90
blob
787b03559e251651cd4c232f480e4a2144f93612
1
! { dg-do run }
2
3
integer
,
allocatable
::
a
(:)
4
logical
::
l
5
l
= .
false
.
6
!$omp parallel firstprivate (a) reduction (.or.:l)
7
l
=
allocated
(
a
)
8
allocate
(
a
(
10
))
9
l
=
l
.
or
. .
not
.
allocated
(
a
)
10
a
=
10
11
if
(
any
(
a
.
ne
.
10
))
l
= .
true
.
12
deallocate
(
a
)
13
l
=
l
.
or
.
allocated
(
a
)
14
!$omp end parallel
15
if
(
l
)
STOP
1
16
end