URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [pack_mask_1.f90] - Rev 516
Compare with Previous | Blame | View Log
! { dg-do run }
! PR 32721 - missing conversion for kind=1 and kind=2 masks for pack
program main
real, dimension(2,2) :: a
real, dimension(4) :: b
call random_number(a)
b = pack(a,logical(a>0,kind=1))
b = pack(a,logical(a>0,kind=2))
end program main