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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pack_mask_1.f90
blob
e81d4e76ee21d4126b8a4ea163fea1b6274bd19c
1
! { dg-do run }
2
! PR 32721 - missing conversion for kind=1 and kind=2 masks for pack
3
program
main
4
real
,
dimension
(
2
,
2
) ::
a
5
real
,
dimension
(
4
) ::
b
6
call
random_number
(
a
)
7
b
=
pack
(
a
,
logical
(
a
>
0
,
kind
=
1
))
8
b
=
pack
(
a
,
logical
(
a
>
0
,
kind
=
2
))
9
end program
main