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
PR rtl-optimization/82913
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
where_5.f90
blob
58d24ecbb305aeea9aef91fff84ee481fa369fe7
1
! Tests WHERE satement with non-integer array in the mask expression
2
program
where_5
3
integer
,
dimension
(
5
) ::
a
4
real
(
kind
=
8
),
dimension
(
5
) ::
b
5
6
a
= (/
1
,
2
,
3
,
4
,
5
/)
7
b
= (/
1d0
,
0d0
,
1d0
,
0d0
,
1d0
/)
8
9
where
(
b
.
ne
.
0d0
)
10
a
(:) =
a
(:) +
10
11
endwhere
12
if
(
any
(
a
.
ne
. (/
11
,
2
,
13
,
4
,
15
/)))
call
abort
13
end program