[flang-commits] [PATCH] D136984: [flang][NFC] Change wording of an I/O runtime error message
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Oct 28 14:08:49 PDT 2022
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.
Make a requested change to the wording of a fatal I/O error
message.
https://reviews.llvm.org/D136984
Files:
flang/runtime/descriptor-io.h
Index: flang/runtime/descriptor-io.h
===================================================================
--- flang/runtime/descriptor-io.h
+++ flang/runtime/descriptor-io.h
@@ -30,8 +30,8 @@
const SubscriptValue subscripts[]) {
A *p{descriptor.Element<A>(subscripts)};
if (!p) {
- io.GetIoErrorHandler().Crash(
- "ExtractElement: null base address or subscripts out of range");
+ io.GetIoErrorHandler().Crash("Bad address for I/O item -- null base "
+ "address or subscripts out of range");
}
return *p;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136984.471650.patch
Type: text/x-patch
Size: 569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221028/30ec4ada/attachment.bin>
More information about the flang-commits
mailing list