[all-commits] [llvm/llvm-project] cfbde7: [flang][runtime] Catch more (all?) negative unit n...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Jun 15 17:34:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cfbde7149d8647a4ff2eef892a30ffc55605df2c
https://github.com/llvm/llvm-project/commit/cfbde7149d8647a4ff2eef892a30ffc55605df2c
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
Changed paths:
M flang/include/flang/Runtime/iostat.h
M flang/runtime/io-api.cpp
M flang/runtime/iostat.cpp
M flang/runtime/unit-map.h
M flang/runtime/unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] Catch more (all?) negative unit number errors
Fortran does have negative unit numbers -- they show up in child I/O
subroutines for defined I/O and for OPEN(NEWUNIT=) -- but the runtime
needs to catch the cases where a negative unit number that wasn't
generated by the runtime is passed in for OPEN or for an I/O statement
that would ordinarily create an anonymous "fort.NNN" file for a
hitherto unseen unit.
Differential Revision: https://reviews.llvm.org/D127788
More information about the All-commits
mailing list