gcc/libgfortran
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
..
caf Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
config Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
generated Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
intrinsics Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
io 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
m4 Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
runtime Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
acinclude.m4 Use -z ignore instead of --as-needed on Solaris 2013-05-24 09:23:33 +00:00
aclocal.m4 Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
c99_protos.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
ChangeLog 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
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
config.h.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
configure configure.ac: Do not define HAVE_STRTOLD. 2013-11-15 17:50:28 +00:00
configure.ac configure.ac: Do not define HAVE_STRTOLD. 2013-11-15 17:50:28 +00:00
configure.host
fmain.c
gfortran.map re PR libfortran/36044 (user-requested backtrace) 2012-12-20 19:15:13 +01:00
kinds-override.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
libgfortran.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
libgfortran.spec.in
libtool-version
Makefile.am
Makefile.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh