This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/21435] gfortran fails to open nonexisting file with status scratch


------- Additional Comments From kargl at gcc dot gnu dot org  2005-05-07 05:05 -------
I believe the code is invoking processor (ie compiler) defined behavior.
The standard states "If the STATUS= specifier has the value SCRATCH, the
FILE= specifier shall be absent."  This isn't a constraint, so a compiler
is not required to catch and report this problem.  

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]