diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-01-10 19:22:46 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-01-10 19:22:46 +0900 |
commit | 8b02a27fc607ebc54c5a811188b3cea5063564e7 (patch) | |
tree | c1ca7d4acca553301204ebb83383aa87cb59311a /flang/runtime/edit-input.cpp | |
parent | 694a772457b2999b7bd68625a16bf0755e95dcdb (diff) | |
parent | 397ac44f623f891d8f05d6673a95984ac0a26671 (diff) | |
download | llvm-users/chapuni/cov/merge/mcdcsort.zip llvm-users/chapuni/cov/merge/mcdcsort.tar.gz llvm-users/chapuni/cov/merge/mcdcsort.tar.bz2 |
Merge branch 'main' into users/chapuni/cov/merge/mcdcsortusers/chapuni/cov/merge/mcdcsort
Diffstat (limited to 'flang/runtime/edit-input.cpp')
-rw-r--r-- | flang/runtime/edit-input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/runtime/edit-input.cpp b/flang/runtime/edit-input.cpp index c714a85..317f0b6 100644 --- a/flang/runtime/edit-input.cpp +++ b/flang/runtime/edit-input.cpp @@ -130,7 +130,7 @@ static RT_API_ATTRS bool EditBOZInput( shift = shift - 8; // misaligned octal } while (digits > 0) { - char32_t ch{*io.NextInField(remaining, edit)}; + char32_t ch{io.NextInField(remaining, edit).value_or(' ')}; int digit{0}; if (ch == ' ' || ch == '\t') { if (edit.modes.editingFlags & blankZero) { |