public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tobi at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/23661] 'print fmt' is unclassifiable statement in gfortran
Date: Wed, 31 Aug 2005 23:11:00 -0000	[thread overview]
Message-ID: <20050831231031.4024.qmail@sourceware.org> (raw)
In-Reply-To: <20050831193916.23661.uttamp@us.ibm.com>


------- Additional Comments From tobi at gcc dot gnu dot org  2005-08-31 23:10 -------
What happens is this:

In match_io we have the following code
  if (gfc_match_char ('(') == MATCH_NO)
    {
      /* Treat the non-standard case of PRINT namelist.  */
       if (k == M_PRINT && (gfc_match_name (name) == MATCH_YES)
	    && !gfc_find_symbol (name, NULL, 1, &sym)
	    && (sym->attr.flavor == FL_NAMELIST))
This of course doesn't back up correctly in the case where a name is matched
which is not a namelist, then chaos ensues leading to the error you observed.

Since I approved the patch for this, I take it as may responsibility to fix this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu dot org
         AssignedTo|unassigned at gcc dot gnu   |tobi at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-08-31 19:49:03         |2005-08-31 23:10:30
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23661


  parent reply	other threads:[~2005-08-31 23:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31 19:42 [Bug fortran/23661] New: " uttamp at us dot ibm dot com
2005-08-31 19:51 ` [Bug fortran/23661] " pinskia at gcc dot gnu dot org
2005-08-31 23:11 ` tobi at gcc dot gnu dot org [this message]
2005-08-31 23:34 ` tobi at gcc dot gnu dot org
2005-09-01 12:10 ` tobi at gcc dot gnu dot org
2005-09-01 12:16 ` fxcoudert at gcc dot gnu dot org
2005-09-01 14:41 ` tobi at gcc dot gnu dot org
2005-09-04 12:09 ` cvs-commit at gcc dot gnu dot org
2005-09-04 12:26 ` cvs-commit at gcc dot gnu dot org
2005-09-04 12:29 ` tobi at gcc dot gnu dot org
2005-09-07 14:11 ` pinskia at gcc dot gnu dot 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=20050831231031.4024.qmail@sourceware.org \
    --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: link
Be 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).