Skip to content

[flang][runtime][CUDA] Fix build error #94281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2024
Merged

[flang][runtime][CUDA] Fix build error #94281

merged 1 commit into from
Jun 3, 2024

Conversation

klausler
Copy link
Contributor

@klausler klausler commented Jun 3, 2024

I broke the build, and now I'm fixing it.

I broke the build, and now I'm fixing it.
@klausler klausler merged commit bd815a5 into llvm:main Jun 3, 2024
4 of 5 checks passed
@llvmbot llvmbot added flang:runtime flang Flang issues not falling into any other category labels Jun 3, 2024
@klausler klausler deleted the fix branch June 3, 2024 21:37
@llvmbot
Copy link
Member

llvmbot commented Jun 3, 2024

@llvm/pr-subscribers-flang-runtime

Author: Peter Klausler (klausler)

Changes

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 --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();
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang:runtime flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants