re PR fortran/69456 (Namelist value with trailing sign is ignored without error)
commit64a454d9f74cecd95241e96fef281b64715049c4
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 23 Feb 2016 18:38:31 +0000 (23 18:38 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 23 Feb 2016 18:38:31 +0000 (23 18:38 +0000)
treef181cd7389d8bad1a96d98fe725f9b3dc253f400
parent35886f0bd4a8bcb1fe8b5f60d76fb94e5a0d4f9a
re PR fortran/69456 (Namelist value with trailing sign is ignored without error)

2016-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/69456
* io/list_read.c (read_real): If digit is missing from exponent issue
an error. (parse_real): Likewise and adjusted error message to clarify
it is part of a complex number.
(nml_read_obj): Bump item count and add comment that this is used to
identify which item in a namelist read has a problem.

PR libgfortran/69456
* gfortran.dg/namelist_89.f90: New test.
* gfortran.dg/pr59700.f90: Update test..

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