[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
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
[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