--- flang/runtime/exceptions.cpp.orig +++ flang/runtime/exceptions.cpp @@ -44,7 +44,7 @@ Terminator terminator{__FILE__, __LINE__}; static constexpr uint32_t v{FE_INVALID}; -#if __x86_64__ +#if __x86_64__ && !defined(__FreeBSD__) static constexpr uint32_t s{__FE_DENORM}; // nonstandard, not a #define #else static constexpr uint32_t s{0};