[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
Sun Oct 30 13:37:26 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc4c198f603d7: [flang][NFC] Change wording of an I/O runtime error message (authored by klausler).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136984/new/

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.471864.patch
Type: text/x-patch
Size: 569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221030/9a9bb75c/attachment.bin>


More information about the flang-commits mailing list