re PR libfortran/78123 (Short reads with T edit descriptor not padding correctly)
commitd4fc670294f037e0a8e8f4bdbb7ea80640f463e5
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 30 Oct 2016 22:14:01 +0000 (30 22:14 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 30 Oct 2016 22:14:01 +0000 (30 22:14 +0000)
treead49bed54951ceabdcb4409b96fed44a089970a1
parent396e56d2da7935f96f4ca133c359668cc6c98eaf
re PR libfortran/78123 (Short reads with T edit descriptor not padding correctly)

2016-10-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/78123
* io/transfer.c (formatted_transfer_scalar_read): Clear seen_eor
only if we have tabbed to left of current position.

* gfortran.dg/fmt_t_9.f: New test.

From-SVN: r241691
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_t_9.f [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/transfer.c