OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pack_mask_1.f90] - Rev 708

Go to most recent revision | 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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.