[flang-commits] [PATCH] D127422: [flang][runtime] Fix list-directed/NAMELIST complex input with "r*" repetition count
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Jun 13 10:50:48 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1444bc824136: [flang][runtime] Fix list-directed/NAMELIST complex input with "r*" repetition… (authored by klausler).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127422/new/
https://reviews.llvm.org/D127422
Files:
flang/runtime/io-stmt.cpp
Index: flang/runtime/io-stmt.cpp
===================================================================
--- flang/runtime/io-stmt.cpp
+++ flang/runtime/io-stmt.cpp
@@ -799,7 +799,9 @@
if (remaining_ > 0) {
repeatPosition_.emplace(io);
}
- return edit;
+ if (!imaginaryPart_) {
+ return edit;
+ }
}
// Skip separators, handle a "r*c" repeat count; see 13.10.2 in Fortran 2018
if (imaginaryPart_) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127422.436475.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220613/e093df45/attachment-0001.bin>
More information about the flang-commits
mailing list