diff options
author | 2017-08-07 20:56:46 +0000 | |
---|---|---|
committer | 2017-08-07 20:56:46 +0000 | |
commit | 1d8d17b82369fed2b89d739194dd44db4b18b11c (patch) | |
tree | 377420e88e289f0fd966bee4330e617ad444889c /lib/libc | |
parent | Add "machine exit" and "machine poweroff" commands to the arm64 and armv7 (diff) | |
download | wireguard-openbsd-1d8d17b82369fed2b89d739194dd44db4b18b11c.tar.xz wireguard-openbsd-1d8d17b82369fed2b89d739194dd44db4b18b11c.zip |
Clang does not support -ffloat-store, so libm fenv test failed on
i386. Gcc uses this option it to store x87 registers to memory.
This reduces precision and enforces rounding which this test checks.
The same effect can be achieved by using a volatile double variable
for the result. This works for both compilers.
OK kettenis@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions