[Bug libfortran/59419] New: [4.9 Regression] Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx' after revision 196783
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sat Dec 7 20:06:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59419
Bug ID: 59419
Summary: [4.9 Regression] Failing OPEN with FILE='xxx' and
IOSTAT creates the file 'xxx' after revision 196783
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
CC: jb at gcc dot gnu.org, tilo@tilo-schwarz.de
While the test
open(unit=-10, file='xxx')
end
gives an error at run time without creating the file 'xxx'. The test
integer :: i
open(unit=-10, file='xxx', iostat=i)
print *, i
end
prints 5002 at run time and create an empty file 'xxx'. This does not happens
with r196783, but does with r196819.
More information about the Gcc-bugs
mailing list