Commit 2a55ae37 by Jerry DeLisle

re PR libfortran/61499 (Internal read of negative integer broken)

2014-06-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/61499
	* gfortran.dg/arrayio_15.f90: New test.

From-SVN: r212060
parent b896e674
2014-06-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/61499
gfortran.dg/arrayio_15.f90: New test.
2014-06-26 Uros Bizjak <ubizjak@gmail.com>
PR target/61586
......
! { dg-do run }
! PR61499
program read_internal
integer :: x(9),i,iostat
character(len=512) :: iomsg
character(kind=1,len=30), dimension(:), allocatable, save :: source
allocate(source(3))
source=[" 1 1 -1"," 1 -1 1"," -1 1 1"] !This fails
read(source,*) (x(i), i=1,6)
end program read_internal
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