more proper fix for compilation issue with some gcc versions with ares
fixes 2989a73430
This commit is contained in:
parent
2989a73430
commit
05962cfd93
Binary file not shown.
|
@ -210,7 +210,7 @@ auto CPU::checkFPUExceptions() -> bool {
|
||||||
|
|
||||||
#define CHECK_FPE_IMPL(type, operation, convert) ({ \
|
#define CHECK_FPE_IMPL(type, operation, convert) ({ \
|
||||||
fenv.clearExcept(); \
|
fenv.clearExcept(); \
|
||||||
type res = [&]() noinline { return operation; }(); \
|
type res = [&]() noinline { return type(operation); }(); \
|
||||||
if (checkFPUExceptions<convert>()) return; \
|
if (checkFPUExceptions<convert>()) return; \
|
||||||
(res); \
|
(res); \
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue