[flang-commits] [flang] [llvm] [flang][MIF] Adding Stop and ErrorStop operations (PR #166787)

Jean-Didier PAILLEUX via flang-commits flang-commits at lists.llvm.org
Wed Jan 21 00:00:38 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");
----------------
JDPailleux wrote:

I have no opinion on whether or not to clear the buffers. However, if reversing the two lines is the desired behavior in multi-image execution, I am not opposed to doing so.

https://github.com/llvm/llvm-project/pull/166787


More information about the flang-commits mailing list