This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/21435] gfortran fails to open nonexisting file with status scratch
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2005 05:05:22 -0000
- Subject: [Bug fortran/21435] gfortran fails to open nonexisting file with status scratch
- References: <20050507041247.21435.joe@confucius.gnacademy.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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