This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/21435] fails to open nonexisting file with status scratch
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2005 07:51:31 -0000
- Subject: [Bug libfortran/21435] 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 fxcoudert at gcc dot gnu dot org 2005-06-19 07:51 -------
In fact, gfortran does issue a runtime error (if iostat and err tags are removed):
"Fortran runtime error: FILE parameter must not be present in OPEN statement"
But sure, it could be usefull to detect this at compile-time when possible (as
g77 does). Confirmed and marked as enhancement for this point.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i586-mandrake-linux-gnu |
GCC host triplet|i586-mandrake-linux-gnu |
GCC target triplet|i586-mandrake-linux-gnu |
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-06-19 07:51:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21435