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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
forall_2.f90
blob
92a4ff102cc6ebe331288b9ca066f6a84e81d789
1
!program to test nested forall construct and forall mask
2
program
test
3
implicit none
4
integer
a
(
4
,
4
)
5
integer
i
,
j
6
7
do
i
=
1
,
4
8
do
j
=
1
,
4
9
a
(
j
,
i
) =
j
-
i
10
enddo
11
enddo
12
forall
(
i
=
2
:
4
,
a
(
1
,
i
).
GT
.-
2
)
13
forall
(
j
=
1
:
4
,
a
(
j
,
2
).
GT
.0
)
14
a
(
j
,
i
) =
a
(
j
,
i
-
1
)
15
end
forall
16
end
forall
17
if
(
any
(
a
.
ne
.
reshape
((/
0
,
1
,
2
,
3
,-
1
,
0
,
2
,
3
,-
2
,-
1
,
0
,
1
,-
3
,-
2
,-
1
,
0
/),&
18
(/
4
,
4
/))))
call
abort
19
end
20