[flang-commits] [flang] [flang][runtime][CUDA] Fix build error (PR #94281)
via flang-commits
flang-commits at lists.llvm.org
Mon Jun 3 14:38:12 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-runtime
Author: Peter Klausler (klausler)
<details>
<summary>Changes</summary>
I broke the build, and now I'm fixing it.
---
Full diff: https://github.com/llvm/llvm-project/pull/94281.diff
1 Files Affected:
- (modified) flang/runtime/pseudo-unit.cpp (+1-1)
``````````diff
diff --git a/flang/runtime/pseudo-unit.cpp b/flang/runtime/pseudo-unit.cpp
index 5a8696312d7ee..70e70eec6a77e 100644
--- a/flang/runtime/pseudo-unit.cpp
+++ b/flang/runtime/pseudo-unit.cpp
@@ -38,7 +38,7 @@ ExternalFileUnit *ExternalFileUnit::LookUpOrCreateAnonymous(int unit,
Direction direction, Fortran::common::optional<bool>,
IoErrorHandler &handler) {
if (direction != Direction::Output) {
- terminator.Crash("ExternalFileUnit only supports output IO");
+ handler.Crash("ExternalFileUnit only supports output IO");
}
return New<ExternalFileUnit>{handler}(unit).release();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/94281
More information about the flang-commits
mailing list