URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [unpack_mask_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }
! PR 32731 - upack lacked conversion for kind=1 and kind=2 mask
program main
implicit none
character(len=80) line
logical(kind=1),dimension(2,2) :: mask1
logical(kind=1),dimension(2,2) :: mask2
mask1 = .true.
mask2 = .true.
write(unit=line,fmt='(4I4)') unpack((/1,2,3,4/),mask1,0)
write(unit=line,fmt='(4I4)') unpack((/1,2,3,4/),mask2,0)
end program main