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
This commit is contained in:
Janne Blomqvist 2009-07-20 02:26:20 +03:00 committed by Jerry DeLisle
parent eab09a51ff
commit d2b00a893b
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -0,0 +1,8 @@
! { 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