Hello, everyone,
For MSFR builds Windows ICC got warnings:
uceil_exp2.c(38): warning #2261: __assume expression with side effects discarded MPFR_ASSERTN(d <= 1024.0); ^ add1.c(40): warning #2261: __assume expression with side effects discarded MPFR_ASSERTD (! MPFR_UBF_EXP_LESS_P (b, c)); ^
etc.
Reproduced for:
- builds using Windows ICC,
not reproduced for:
- builds using mingw-w64 and MSVC.
Environment:
- Windows 10 x64 10.0.17134.1,
- ICC 2018 Update 3,
- MSVC 2017 15.7.3,
- Windows SDK 10.0.17134.12,
- mingw-w64 x86_64 posix seh 8.1.0,
- MPFR-4.1.0-dev-.
Official Intel Documentation tells nothing particular what does it mean and how to solve it.
Such warnings were suppressed for Qt builds, since its Developers believe, that related code is correct (from which it follows, that this is a compiler bug).
MPFR Developers wondering"whether this is a bug in ICC" since "the use of __assume seems correct".
Best,
Alexander