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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
where_4.f90
blob
104096b356a1ede1700094cd76e27f589f8d9567
1
! Tests WHERE statement with a data dependency
2
program
where_4
3
integer
,
dimension
(
5
) ::
a
4
integer
,
dimension
(
5
) ::
b
5
6
a
= (/
1
,
2
,
3
,
4
,
5
/)
7
b
= (/
1
,
0
,
1
,
0
,
1
/)
8
9
where
(
b
.
ne
.
0
)
10
a
(:) =
a
(
5
:
1
:-
1
)
11
endwhere
12
if
(
any
(
a
.
ne
. (/
5
,
2
,
3
,
4
,
1
/)))
call
abort
13
end program