re PR fortran/53029 (missed optimization in internal read (without implied-do-loop))
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 29 May 2017 19:17:57 +0000 (19:17 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 29 May 2017 19:17:57 +0000 (19:17 +0000)
commitfd262197d74626579a784ee1cc0f3f3a0e3f33e9
tree92cfd1b6d2284c50ad86327360b617f65d955161
parenta5cfa13ab9ef5b9a740129fca6b73acea436c493
re PR fortran/53029 (missed optimization in internal read (without implied-do-loop))

2017-05-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/53029
* list_read.c (list_formatted_read_scala): Set the err return
value to the common.flags error values.

* gfortran.dg/read_5.f90: New test.

From-SVN: r248577
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/read_5.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/list_read.c