Commit e724582c by Jerry DeLisle

re PR fortran/34560 (I/O internal read: END expected, but no failure)

2007-12-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/34560
	* gfortran.dg/read_eof_5.f90: New test.

From-SVN: r131178
parent f15db427
2007-12-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/34560
* gfortran.dg/read_eof_5.f90: New test.
2007-12-25 Tobias Burnus <burnus@net-b.de>
PR fortran/34514
! { dg-do run }
! PR34560 I/O internal read: END expected, but no failure
program main
character(len=2) :: line
character(len=1) :: a(3)
a = "x"
line = 'ab'
read (line,'(A)',END=99) a
call abort
99 continue
if (any(a /= ['a','x','x'])) call abort
end program main
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