public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59700] [4.8/4.9 Regression] Misleading/buggy runtime error message: Bad integer for item 0 in list input Date: Sat, 22 Feb 2014 02:12:00 -0000 [thread overview] Message-ID: <bug-59700-4-vt2ssn9dGD@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-59700-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59700 --- Comment #24 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Sat Feb 22 02:11:44 2014 New Revision: 208038 URL: http://gcc.gnu.org/viewcvs?rev=208038&root=gcc&view=rev Log: 2014-02-21 Jerry DeLisle <jvdelisle@gcc.gnu> Dominique d'Humieres <dominiq@lps.ens.fr> Steven G. Kargl <kargl@gcc.gnu.org> Backport from mainline 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. Modified: branches/gcc-4_8-branch/libgfortran/ChangeLog branches/gcc-4_8-branch/libgfortran/io/io.h branches/gcc-4_8-branch/libgfortran/io/list_read.c
next prev parent reply other threads:[~2014-02-22 2:12 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-01-06 14:45 [Bug fortran/59700] New: " mvondomaros at gmail dot com 2014-01-06 23:24 ` [Bug fortran/59700] [4.8/4.9 Regression] " kargl at gcc dot gnu.org 2014-01-07 11:54 ` rguenth at gcc dot gnu.org 2014-01-09 9:27 ` dominiq at lps dot ens.fr 2014-01-09 15:39 ` sgk at troutmask dot apl.washington.edu 2014-01-09 15:44 ` sgk at troutmask dot apl.washington.edu 2014-01-09 20:41 ` dominiq at lps dot ens.fr 2014-01-09 20:58 ` dominiq at lps dot ens.fr 2014-01-09 21:09 ` sgk at troutmask dot apl.washington.edu 2014-01-09 21:27 ` dominiq at lps dot ens.fr 2014-01-09 21:39 ` sgk at troutmask dot apl.washington.edu 2014-01-09 22:48 ` dominiq at lps dot ens.fr 2014-01-10 4:18 ` jvdelisle at gcc dot gnu.org 2014-01-10 17:09 ` jvdelisle at gcc dot gnu.org 2014-01-10 22:29 ` dominiq at lps dot ens.fr 2014-01-10 22:39 ` jvdelisle at gcc dot gnu.org 2014-01-10 23:11 ` sgk at troutmask dot apl.washington.edu 2014-01-11 0:55 ` dominiq at lps dot ens.fr 2014-01-11 18:57 ` jvdelisle at gcc dot gnu.org 2014-01-11 21:39 ` jvdelisle at gcc dot gnu.org 2014-02-22 0:02 ` jvdelisle at gcc dot gnu.org 2014-02-22 0:34 ` sgk at troutmask dot apl.washington.edu 2014-02-22 2:12 ` jvdelisle at gcc dot gnu.org [this message] 2014-02-22 2:51 ` jvdelisle at gcc dot gnu.org 2014-02-22 2:53 ` jvdelisle at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-59700-4-vt2ssn9dGD@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).