sal/rtl/math.cxx | 3 --- 1 file changed, 3 deletions(-) New commits: commit 5b9b07dcb3e0065ddb616a0a5b0e69c1c3841fa7 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed May 11 11:45:13 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed May 11 13:59:35 2022 +0200
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 <cmath> 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 <sberg...@redhat.com> 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); }