[all-commits] [llvm/llvm-project] 652774: [flang][runtime] Allow record advancement in child...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Feb 16 16:41:35 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65277494f04da7c4fd5903138d057c0faac7ba9a
https://github.com/llvm/llvm-project/commit/65277494f04da7c4fd5903138d057c0faac7ba9a
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M flang/runtime/io-stmt.cpp
Log Message:
-----------
[flang][runtime] Allow record advancement in child I/O via '/' control edit descriptor
My earlier misreading of the Fortran standards had convinced me that child I/O
-- meaning the use of user-defined subroutines via generic interfaces to implement
data transfer statements -- was not allowed to advance the current record in the
ultimate unit of the original (non-child parent) data transfer statement.
This turns out to be wrong, so forward AdvanceRecord() from ChildFormattedIoStatement<>
to its parent I/O statement rather than implementing it as a no-op.
Differential Revision: https://reviews.llvm.org/D144205
More information about the All-commits
mailing list