https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91970
--- Comment #3 from nsz at gcc dot gnu.org --- (In reply to Andreas Schwab from comment #2) > Don't you need #pragma STDC FENV_ACCESS? yes, for iso c conformance you need it, but gcc does not handle it anyway, instead it requires -frounding-math. however if double prec instructions are available, using them may be even faster in the difficult inexact case, e.g. double uconv64(uint64_t x) { double lo = uconv32(x); // single instruction, always exact double hi = uconv32(x>>32); return lo + hi*0x1p32; } so i would not make the fix depend on -frounding-math, just always use hardfloat instructions on hardfloat targets to do the conv. (i suspect it affects more than just armhf)