diff options
| author | Connector Switch <c8ef@outlook.com> | 2025-10-08 10:19:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 10:19:42 +0800 |
| commit | 760a1142feee734d044ab546914407f6b8d96062 (patch) | |
| tree | 97d4dc4debb0774755c9f958aee5a684bb721274 /flang-rt | |
| parent | cb53a2de37460e2d59f6828d3c5f1e35ac512dde (diff) | |
[flang][NFC] Revise crash msg for GeneralCharFunc (#162292)
Diffstat (limited to 'flang-rt')
| -rw-r--r-- | flang-rt/lib/runtime/character.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flang-rt/lib/runtime/character.cpp b/flang-rt/lib/runtime/character.cpp index 0f9f419ff0b7..c9ac55736d42 100644 --- a/flang-rt/lib/runtime/character.cpp +++ b/flang-rt/lib/runtime/character.cpp @@ -428,7 +428,8 @@ static RT_API_ATTRS void GeneralCharFunc(Descriptor &result, result.GetDimension(j).SetBounds(1, ub[j]); } if (result.Allocate(kNoAsyncObject) != CFI_SUCCESS) { - terminator.Crash("SCAN/VERIFY: could not allocate storage for result"); + terminator.Crash( + "INDEX/SCAN/VERIFY: could not allocate storage for result"); } std::size_t stringElementChars{string.ElementBytes() >> shift<CHAR>}; std::size_t argElementChars{arg.ElementBytes() >> shift<CHAR>}; |
