public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/44931] For INPUT_UNIT, INQUIRE NAME= should not return "stdin"
Date: Sat, 24 Jul 2010 08:22:00 -0000	[thread overview]
Message-ID: <20100724082230.9648.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44931-14229@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from burnus at gcc dot gnu dot org  2010-07-24 08:22 -------
(In reply to comment #5)
> Created an attachment (id=21296)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21296&action=view) [edit]
> Proposed pathc

+      if (u->unit_number == options.stdin_unit
+         || u->unit_number == options.stdout_unit
+         || u->unit_number == options.stderr_unit)

Will this work for
  open(6,file="test.dat")
  inquire(6,file=str)
  if (str /= "test.dat") call abort()
?


-- 


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


  parent reply	other threads:[~2010-07-24  8:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 20:51 [Bug fortran/44931] New: " jkrahn at nc dot rr dot com
2010-07-14 15:44 ` [Bug fortran/44931] " burnus at gcc dot gnu dot org
2010-07-15 21:39 ` jkrahn at nc dot rr dot com
2010-07-15 21:49 ` jkrahn at nc dot rr dot com
2010-07-24  4:08 ` jvdelisle at gcc dot gnu dot org
2010-07-24  8:22 ` burnus at gcc dot gnu dot org [this message]
2010-07-25  0:48 ` jvdelisle at gcc dot gnu dot org
2010-07-29  1:32 ` jvdelisle at gcc dot gnu dot org
2010-07-29  8:26 ` burnus at gcc dot gnu dot org
2010-07-30  1:47 ` jvdelisle at gcc dot gnu dot org
2010-08-04 10:02 ` burnus at gcc dot gnu dot org
2010-08-14 18:59 ` jvdelisle at gcc dot gnu dot org
2010-08-17  3:14 ` jvdelisle at gcc dot gnu dot org
     [not found] <bug-44931-4@http.gcc.gnu.org/bugzilla/>
2010-11-04 19:30 ` jb 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=20100724082230.9648.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).