Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Catch bad OPEN(STATUS=) cases
STATUS='NEW' and 'REPLACE' require FILE= to be present. STATUS='SCRATCH' may not appear with FILE=. These errors are caught at compilation time when constant character strings are used in an OPEN statement, but the runtime needs to enforce them as well to catch errors in OPEN statements with character variables and expressions. Differential Revision: https://reviews.llvm.org/D122509
- Loading branch information