Commit d2b00a89 by Janne Blomqvist Committed by Jerry DeLisle

re PR fortran/40714 (Fortran runtime error: Invalid argument)

2009-07-19  Janne Blomqvist  <jb@gcc.gnu.org>
	    Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40714
	* gfortran.dg/eof_3.f90: New test.

Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>

From-SVN: r149797
parent eab09a51
2009-07-19 Janne Blomqvist <jb@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40714
* gfortran.dg/eof_3.f90: New test.
2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/40727
......
! { dg-do run }
! PR40714 A read hitting EOF should leave the unit structure in a correct state
program test
open(unit=32,status="scratch",access="sequential",form="unformatted")
read(32,end=100)
100 continue
write (32)
end program test
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