[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-31 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

Jerry DeLisle  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jerry DeLisle  ---
Fixed on 5, 6, and 7, Closing, thanks for the report

[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-31 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

--- Comment #6 from Jerry DeLisle  ---
Author: jvdelisle
Date: Mon Oct 31 23:40:40 2016
New Revision: 241727

URL: https://gcc.gnu.org/viewcvs?rev=241727=gcc=rev
Log:
2016-10-31  Jerry DeLisle  

Backport from trunk
PR libgfortran/78123
* io/transfer.c (formatted_transfer_scalar_read): Clear seen_eor
only if we have tabbed to left of current position.
Backport from trunk
PR fortran/78123
* gfortran.dg/fmt_t_9.f: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/fmt_t_9.f
Modified:
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/libgfortran/ChangeLog
branches/gcc-5-branch/libgfortran/io/transfer.c

[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-31 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

--- Comment #5 from Jerry DeLisle  ---
Author: jvdelisle
Date: Mon Oct 31 20:57:16 2016
New Revision: 241722

URL: https://gcc.gnu.org/viewcvs?rev=241722=gcc=rev
Log:
2016-10-31  Jerry DeLisle  

Backport from trunk
PR libgfortran/78123
* io/transfer.c (formatted_transfer_scalar_read): Clear seen_eor
only if we have tabbed to left of current position.
Backport from trunk
PR fortran/78123
* gfortran.dg/fmt_t_9.f: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/fmt_t_9.f
Modified:
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/libgfortran/ChangeLog
branches/gcc-6-branch/libgfortran/io/transfer.c

[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-30 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

--- Comment #4 from Jerry DeLisle  ---
Author: jvdelisle
Date: Sun Oct 30 22:14:01 2016
New Revision: 241691

URL: https://gcc.gnu.org/viewcvs?rev=241691=gcc=rev
Log:
2016-10-30  Jerry DeLisle  

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.

Added:
trunk/gcc/testsuite/gfortran.dg/fmt_t_9.f
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c

[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-30 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

--- Comment #3 from Jerry DeLisle  ---
Patch submitted here:

https://gcc.gnu.org/ml/fortran/2016-10/msg00253.html

[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-30 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

Jerry DeLisle  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jvdelisle at gcc dot 
gnu.org

--- Comment #2 from Jerry DeLisle  ---
Started looking into this.

[Bug libfortran/78123] Short reads with T edit descriptor not padding correctly

2016-10-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78123

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-10-30
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
Confirmed from 4.8 up to trunk (7.0).