[flang-commits] [flang] [llvm] [flang][MIF] Adding Stop and ErrorStop operations (PR #166787)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Jan 8 08:51:54 PST 2026
================
@@ -174,17 +174,29 @@ void RTNAME(PauseStatementText)(const char *code, std::size_t length) {
[[noreturn]] void RTNAME(FailImageStatement)() {
Fortran::runtime::NotifyOtherImagesOfFailImageStatement();
CloseAllExternalUnits("FAIL IMAGE statement");
----------------
klausler wrote:
Don't you want output buffers to be flushed by `FAIL IMAGE`? There's likely to be an explanatory message sitting in there that the user would want to see.
https://github.com/llvm/llvm-project/pull/166787
More information about the flang-commits
mailing list