2011-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from mainline
PR libgfortran/47878
* gfortran.dg/pr47878.f90: New test.
From-SVN: r170733
+2011-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ Backport from mainline
+ PR libgfortran/47878
+ * gfortran.dg/pr47878.f90: New test.
+
2011-02-19 Alexandre Oliva <aoliva@redhat.com>
PR tree-optimization/46620
--- /dev/null
+! PR fortran/47878
+! { dg-do run }
+ integer :: a(5)
+ open (99, recl = 40)
+ write (99, '(5i3)') 1, 2, 3
+ rewind (99)
+ read (99, '(5i3)') a
+ if (any (a.ne.(/1, 2, 3, 0, 0/))) call abort
+ close (99, status = 'delete')
+end