]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lib/msun: Fix x86 GCC6 build after 221622ec0c8e184
authorAlex Richardson <arichardson@FreeBSD.org>
Fri, 12 Mar 2021 18:44:42 +0000 (18:44 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Thu, 22 Apr 2021 09:42:54 +0000 (10:42 +0100)
commit6dd6c03efb9ecc214b0e00fcd32a1bb8887abc0f
tree4d10ce1bd955d2408b3f2ccdd3c7ec8140d16666
parentfe173c91b04148eaa12e15eb4aa444350ccaded4
lib/msun: Fix x86 GCC6 build after 221622ec0c8e184

Apparently GCC only supports arithmetic expressions that use static
const variables in initializers starting with GCC8. To keep older
versions happy use a macro instead.

Fixes: 221622ec0c ("lib/msun: Avoid FE_INEXACT for x86 log2l/log10l")
Reported by: Jenkins
Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D29233

(cherry picked from commit 05eac56a0432d07acd7f159125855437a4dd6259)
lib/msun/ld80/s_logl.c