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
This commit is contained in:
Jerry DeLisle 2011-02-09 06:07:14 +00:00
parent 70b9ed884a
commit 88c98057c8
2 changed files with 18 additions and 0 deletions

View File

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

View File

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