From 1e95d4fe9a7f48a43528728d021a2c03834e6b41 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sat, 20 Jan 2018 15:43:56 +0100 Subject: [PATCH] CMake: Remove -fsanitize=float-divide-by-zero This is so that NaN and INFINITY values can be produced. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b347ac9..06b6160 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,6 @@ if (ENABLE_SANITIZERS) -fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined - -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize-address-use-after-scope -fsanitize=integer