https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118038
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >So: bit_cast should only do exactly what it is supposed to do: bit-cast. No more, no less. Except that is not how compilers work. Especially since you still need to do constant folding of floating point values after the bit cast.