Commit 1ebfdcab by Jerry DeLisle

re PR libfortran/61173 (Erroneous "end of file" with internal read)

2014-05-24  Jerry DeLisle  <jvdelisle@gcc.gnu>

	PR libfortran/61173
	gfortran.dg/arrayio_14.f90: New test.

From-SVN: r210899
parent 03c0f195
2014-05-24 Jerry DeLisle <jvdelisle@gcc.gnu>
PR libfortran/61173
gfortran.dg/arrayio_14.f90: New test.
2014-05-24 Andreas Schwab <schwab@suse.de>
* gcc.c-torture/execute/bswap-2.c (main): Handle more bitfield
......
! { dg-do run }
! PR61173.f90 Bogus END condition
module bd
character(len=25, kind=1), dimension(:), allocatable, save :: source
contains
subroutine init_data
allocate(source(2))
source=[" 1 1 1 ", " 4 4 4 "]
end subroutine init_data
end module bd
program read_internal
use bd
integer :: x(6),i
call init_data
read(source,*) (x(i), i=1,6)
if (any(x/=[1,1,1,4,4,4])) call abort
end program read_internal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment