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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [arrayio_10.f90] - Blame information for rev 868

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR29563 Internal read loses data.
3
! Test case submitted by Jerry DeLisle  
4
! Without patch, values get muddled.
5
program pr29563
6
  character(len=4), dimension(3)::arraydata = (/'1123',' 456','789 '/)
7
  real(kind=8), dimension(3) :: tmp
8
  read(arraydata,*,iostat=iostat)tmp
9
  if (tmp(1).ne.1123.0) call abort()
10
  if (tmp(2).ne.456.0) call abort()
11
  if (tmp(3).ne.789.0) call abort()
12
end program pr29563

powered by: WebSVN 2.1.0

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