public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19872] New: closed and re-opened file not overwriten
@ 2005-02-10 15:37 bdavis at gcc dot gnu dot org
  2005-02-20 15:19 ` [Bug libfortran/19872] " bdavis at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2005-02-10 15:37 UTC (permalink / raw)
  To: gcc-bugs

program wtest
      implicit none
      open(1,file='wtest.out')
      write(1,'("1 2 3 4 5 6 7 8 9")')
      close(1)
      open(1,file='wtest.out')
      write(1,'("9 8 7 6")')
      close(1)
      end


[bdavis@localhost gfortran]$ gfc a.f
[bdavis@localhost gfortran]$ ./a.out
[bdavis@localhost gfortran]$ cat wtest.out
9 8 7 6
1 2 3 4 5 6 7 8 9
[bdavis@localhost gfortran]$ g77 a.f
[bdavis@localhost gfortran]$ ./a.out
[bdavis@localhost gfortran]$ cat wtest.out
9 8 7 6

-- 
           Summary: closed and re-opened file not overwriten
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-09-11 21:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-10 15:37 [Bug libfortran/19872] New: closed and re-opened file not overwriten bdavis at gcc dot gnu dot org
2005-02-20 15:19 ` [Bug libfortran/19872] " bdavis at gcc dot gnu dot org
2005-02-20 15:37 ` pinskia at gcc dot gnu dot org
2005-04-10  3:43 ` cvs-commit at gcc dot gnu dot org
2005-04-10  3:52 ` kargl at gcc dot gnu dot org
2005-04-10  9:37 ` [Bug libfortran/19872] [4.0 only] " tkoenig at gcc dot gnu dot org
2005-04-10 15:14 ` kargl at gcc dot gnu dot org
2005-04-16 22:03 ` pinskia at gcc dot gnu dot org
2005-05-21 20:34 ` tkoenig at gcc dot gnu dot org
2005-09-11 18:40 ` fxcoudert at gcc dot gnu dot org
2005-09-11 18:55 ` cvs-commit at gcc dot gnu dot org
2005-09-11 19:39 ` cvs-commit at gcc dot gnu dot org
2005-09-11 21:50 ` pinskia at gcc dot gnu dot org

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