Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / arrayio_16.f90
blob21c66fdbe9bfa8371ad50235ddafee906dc1eb43
1 ! { dg-do run }
2 ! PR61640 KIND=4 Character Array Internal Unit Read Fail
3 program read_internal
4 integer :: x(9),i
5 integer :: y(9)
6 character(kind=4,len=30), dimension(3) :: source
8 y = reshape ((/ 1,1,-1,1,-1,1,-1,1,1 /), shape(x))
9 source=[4_" 1 1 -1",4_" 1 -1 1",4_" -1 1 1"]
10 !print *, (trim(source(i)), i=1,3)
11 read(source,*) (x(i), i=1,9) ! This read fails for KIND=4 character
12 if (any(x /= y )) STOP 1
13 end program read_internal