ports/devel/llvm-devel/files/patch-workaround-ff862d6de92f4
Brooks Davis cfbada1909 devel/llvm-devel: snapshot at release/20.x branch point
Update to the branch point of release/20.x.  The next commit on main
updates to 21.0.0 and 20.1.0-rc1 will be released shortly.

Sponsored by:	DARPA, AFRL
2025-01-29 20:10:31 +00:00

11 lines
355 B
Text

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