From 5b9b07dcb3e0065ddb616a0a5b0e69c1c3841fa7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 11 May 2022 11:45:13 +0200 Subject: Revert "Disable -fsanitize=float-divide-by-zero in rtl_math_atanh" This reverts commit 6a4504bba84dcbaeb71869ec5c9ed6dfdc090619, which is no longer necessary after 6f75ec6115f0152517be634070607bc61bf96dd0 "tdf#148430 Use atanh from instead of our own" changed the implementation of rtl_math_atanh. Change-Id: I11094f8c9fb0bb7b635541e7360e460816d3c171 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134161 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sal/rtl/math.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index b53cbec144b3..0d70e9718bfd 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -765,9 +765,6 @@ double SAL_CALL rtl_math_log1p(double fValue) SAL_THROW_EXTERN_C() } double SAL_CALL rtl_math_atanh(double fValue) SAL_THROW_EXTERN_C() -#if defined __clang__ - __attribute__((no_sanitize("float-divide-by-zero"))) // atahn(1) -> inf -#endif { return ::atanh(fValue); } -- cgit