diff options
Diffstat (limited to 'flang/runtime/exceptions.cpp')
-rw-r--r-- | flang/runtime/exceptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/runtime/exceptions.cpp b/flang/runtime/exceptions.cpp index 1ed0053..2fa2baa 100644 --- a/flang/runtime/exceptions.cpp +++ b/flang/runtime/exceptions.cpp @@ -84,7 +84,7 @@ uint32_t RTNAME(MapException)(uint32_t excepts) { // Check if the processor has the ability to control whether to halt or // continue execution when a given exception is raised. bool RTNAME(SupportHalting)([[maybe_unused]] uint32_t except) { -#if (defined(__arm__) || defined(__aarch64__)) && !defined(_WIN32) +#ifdef __USE_GNU except = RTNAME(MapException)(except); int currentSet = fegetexcept(), flipSet, ok; if (currentSet & except) { |