--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-24
18:18 ---
Just closing as a dup of bug 18653 (there was some talk about this on the
mailing list).
*** This bug has been marked as a duplicate of 18653 ***
--
What|Removed
--- Additional Comments From mimo2 at free dot fr 2004-11-05 09:15 ---
I don't know what is the true fortran convention, but this code
program test
open(unit=10,file='test.txt',status='old')
write(*,*) ' file is read'
end
works on g77 (and all the other
--- Additional Comments From mimo2 at free dot fr 2004-11-05 17:51 ---
I forgot to reopen the bug after my last comment.
--
What|Removed |Added
Status|RESOLVED
--
What|Removed |Added
Component|fortran |libfortran
Version|unknown |4.0.0
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 17:36
---
Do you have a simple example/testcase?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18297
--- Additional Comments From bdavis at gcc dot gnu dot org 2004-11-04 23:21
---
gfortran runtime does not know that you only intend to write to the file. you
need to add ACCESS='READ' to the open statement. With ACCESS set to read, a
read only file can be opened.
i do not think this
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-05 01:29
---
Yes this is invalid by reading the code.
--
What|Removed |Added