[Bug fortran/69456] Namelist value with trailing sign is ignored without error
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 23 18:39:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69456
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Tue Feb 23 18:38:31 2016
New Revision: 233641
URL: https://gcc.gnu.org/viewcvs?rev=233641&root=gcc&view=rev
Log:
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..
Added:
trunk/gcc/testsuite/gfortran.dg/namelist_89.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/pr59700.f90
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
More information about the Gcc-bugs
mailing list