------- 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

Reply via email to