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

Subversion Repositories openrisc_me

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

Compare with Previous | Blame | View Log

! { dg-do run }
! PR29563 Internal read loses data.
! Test case submitted by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
! Without patch, values get muddled.
program pr29563
  character(len=4), dimension(3)::arraydata = (/'1123',' 456','789 '/)
  real(kind=8), dimension(3) :: tmp
  read(arraydata,*,iostat=iostat)tmp
  if (tmp(1).ne.1123.0) call abort()
  if (tmp(2).ne.456.0) call abort()
  if (tmp(3).ne.789.0) call abort()
end program pr29563

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.