aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 873e1e30fe..795ce0639b 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -2916,6 +2916,10 @@ else
#include <signal.h>
#include <stdlib.h>
+#if defined(__clang__) || defined(__llvm__)
+#error "Clang/LLVM generates broken code for FP exceptions"
+#endif
+
volatile int erl_fp_exception;
/*