diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2014-01-11 18:57:20 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2014-01-11 18:57:20 +0000 |
commit | 2558e2e838790ef1441788c0ba4c14e1bf061b55 (patch) | |
tree | 7ee42a08f421ada38d46c6736afc7fd555ce17a2 /libgfortran/ChangeLog | |
parent | 2c4074268983c92c1c8554b591a6877b4e92d7bb (diff) | |
download | gcc-2558e2e838790ef1441788c0ba4c14e1bf061b55.zip gcc-2558e2e838790ef1441788c0ba4c14e1bf061b55.tar.gz gcc-2558e2e838790ef1441788c0ba4c14e1bf061b55.tar.bz2 |
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
Diffstat (limited to 'libgfortran/ChangeLog')
-rw-r--r-- | libgfortran/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 89c9e5d..308ae8d 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,18 @@ +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. + 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> Update copyright years |