gcc/libgfortran/io
Jerry DeLisle 2558e2e838 re PR fortran/59700 (Misleading/buggy runtime error message: Bad integer for item 0 in list input)
2014-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
	    Dominique d'Humieres  <dominiq@lps.ens.fr>
	    Steven G. Kargl  <kargl@gcc.gnu.org>

	PR libfortran/59700
	PR libfortran/59764
	* io/io.h (struct st_parameter_dt): Assign expanded_read flag to
	unused bit. Define new variable line_buffer_pos.
	* io/list_read.c (free_saved, next_char, l_push_char,
	read_logical, read_real): Replace use of item_count with
	line_buffer_pos for line_buffer look ahead.
	(read_logical, read_integer, parse_real, read_real, check_type):
	Adjust location of free_line to after generating error messages
	to retain the correct item count for the message.

Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>

From-SVN: r206553
2014-01-11 18:57:20 +00:00
..
close.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
fbuf.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
fbuf.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
file_pos.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
format.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
format.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
inquire.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
intrinsics.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
io.h re PR fortran/59700 (Misleading/buggy runtime error message: Bad integer for item 0 in list input) 2014-01-11 18:57:20 +00:00
list_read.c re PR fortran/59700 (Misleading/buggy runtime error message: Bad integer for item 0 in list input) 2014-01-11 18:57:20 +00:00
lock.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
open.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
read.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
size_from_kind.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
transfer128.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
transfer.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
unit.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
unix.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
unix.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
write_float.def Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
write.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00