Commit 88c98057 by Jerry DeLisle

re PR fortran/47583 (Inquire affected by previous read)

2011-02-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/47583
	* gfortran.dg/inquire_14.f90: New test.

From-SVN: r169962
parent 70b9ed88
2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/47583
* gfortran.dg/inquire_14.f90: New test.
2011-02-08 Janus Weil <janus@gcc.gnu.org>
PR fortran/45290
......
! { dg-do compile }
! PR47583 Inquire affected by previous read.
subroutine input(indat)
real indat(:)
read(*,*) indat
end subroutine input
subroutine abc(sizedat)
real, intent(in) :: sizedat(:)
integer :: rl
inquire(iolength=rl) sizedat
write(*,*) rl
end subroutine abc
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