Fixincludes: Handle __FLT_EVAL_METHOD__ == 16 on darwin
commit4f3b1a09d3109f03299a2ac15cfa3059596fcb1d
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 1 Jan 2022 11:22:00 +0000 (1 12:22 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 1 Jan 2022 12:00:41 +0000 (1 13:00 +0100)
tree4fcc7f9efa722dafa9f59403f5b537401fe48661
parent5fa4f982636e7e66eee6a9b45cc0939ae95b4659
Fixincludes: Handle __FLT_EVAL_METHOD__ == 16 on darwin

The darwin system headers error out on __FLT_EVAL_METHOD__ == 16, which
occurs when the compiler is called with -mavx512fp16 on i386. Allow this
value to proceed past the check (nothing else depends on it in the
system headers).

fixincludes/ChangeLog:

* inclhack.def: Add new fix on darwin.
* fixincl.x: Regenerate.
* tests/base/math.h: Regenerate.
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/math.h