Page MenuHomeFreeBSD

lib/msun: Fix x86 GCC6 build after 221622ec0c8e184
ClosedPublic

Authored by arichardson on Mar 12 2021, 6:04 PM.

Details

Summary

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

Test Plan

compiles now.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable