OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [transpose_reshape_r10.f90] - Rev 154

Compare with Previous | Blame | View Log

! { dg-do run }
! { dg-require-effective-target fortran_large_real }
program main
  integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1)
  character(len=90) line
  real(k) :: a(3,3)
  real(k) :: b(9)
  a = 1.0_k
  a(1,3) = 0.0_k
  write (line,'(9G10.6)') transpose(a)
  write (line,'(9G10.6)') reshape(a,shape(b))
end

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.