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/46010] I/O: Namelist-reading bug Date: Mon, 25 Oct 2010 05:48:00 -0000 [thread overview] Message-ID: <20101025054800.KG6TNSrBjM011BJLXAnMrUTMpsTIogHdcQSjOZXyscM@z> (raw) In-Reply-To: <bug-46010-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46010 --- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2010-10-25 05:47:58 UTC --- Here is a patch. Please try this if you can. Index: list_read.c =================================================================== --- list_read.c (revision 165900) +++ list_read.c (working copy) @@ -2105,8 +2105,9 @@ nml_parse_qualifier (st_parameter_dt *dtp, descrip /* If -std=f95/2003 or an array section is specified, do not allow excess data to be processed. */ - if (is_array_section == 1 - || !(compile_options.allow_std & GFC_STD_GNU)) + if (is_array_section == 1 + || !(compile_options.allow_std & GFC_STD_GNU) + || !dtp->u.p.ionml->touched) ls[dim].end = ls[dim].start; else dtp->u.p.expanded_read = 1;
next prev parent reply other threads:[~2010-10-25 5:48 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-13 20:59 [Bug fortran/46010] New: reading of structure marco at hulten dot org 2010-10-13 21:42 ` [Bug fortran/46010] I/O: Namelist-reading bug burnus at gcc dot gnu.org 2010-10-14 3:20 ` jvdelisle at gcc dot gnu.org 2010-10-14 3:33 ` jvdelisle at gcc dot gnu.org 2010-10-14 8:09 ` burnus at gcc dot gnu.org 2010-10-14 18:16 ` marco at hulten dot org 2010-10-14 19:13 ` jvdelisle at gcc dot gnu.org 2010-10-25 5:48 ` jvdelisle at gcc dot gnu.org [this message] 2010-10-25 13:12 ` jvdelisle at gcc dot gnu.org 2010-10-26 1:37 ` jvdelisle at gcc dot gnu.org 2010-10-26 9:13 ` marco at hulten dot org 2010-10-26 19:05 ` jvdelisle at gcc dot gnu.org 2010-10-26 19:34 ` jvdelisle at gcc dot gnu.org 2010-10-26 19:37 ` jvdelisle at gcc dot gnu.org 2010-11-02 20:29 ` marco at hulten dot org 2010-11-04 0:17 ` jvdelisle at gcc dot gnu.org 2010-11-04 0:25 ` jvdelisle at gcc dot gnu.org 2010-11-04 0:34 ` jvdelisle at gcc dot gnu.org 2010-11-04 0:38 ` jvdelisle at gcc dot gnu.org 2010-11-04 0:42 ` 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=20101025054800.KG6TNSrBjM011BJLXAnMrUTMpsTIogHdcQSjOZXyscM@z \ --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).