Commit 2fd7985e by Jerry DeLisle

re PR fortran/34676 (IO error delayed)

2008-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/34676
	* gfortran.dg/list_read_8.f90: New test.

From-SVN: r131338
parent fa347f22
2008-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/34676
* gfortran.dg/list_read_8.f90: New test.
2008-01-04 Richard Guenther <rguenther@suse.de>
PR middle-end/34029
! { dg-do run }
! PR34676 IO error delayed
! Test case from PR modified by <jvdelisle@gcc.gnu.org>
implicit none
integer::i,badness
character::c
open(unit=10,status="scratch")
write(10,'(a)') '1'
write(10,'(a)') '2'
write(10,'(a)') '3'
rewind(10)
do i=1,10
read(10,*,iostat=badness)
if (badness/=0) exit
enddo
if (i /= 4) call abort
end
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