[flang-commits] [PATCH] D122749: [flang] Allow user to recover from bad edit descriptor with INTEGER

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Mar 31 01:58:22 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG88d4b85f5964: [flang] Allow user to recover from bad edit descriptor with INTEGER (authored by jeanPerier).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122749

Files:
  flang/runtime/edit-output.cpp


Index: flang/runtime/edit-output.cpp
===================================================================
--- flang/runtime/edit-output.cpp
+++ flang/runtime/edit-output.cpp
@@ -57,7 +57,7 @@
     return EditCharacterOutput(
         io, edit, reinterpret_cast<char *>(&n), sizeof n);
   default:
-    io.GetIoErrorHandler().Crash(
+    io.GetIoErrorHandler().SignalError(IostatErrorInFormat,
         "Data edit descriptor '%c' may not be used with an INTEGER data item",
         edit.descriptor);
     return false;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122749.419368.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220331/90a44d13/attachment.bin>


More information about the flang-commits mailing list