https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115115
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It depends on if you consider a float to int conversion or not. For (long long)float . The value if the float was out of range is unspecified so returning one value or another is both valid. So the question is it corresponding to float to integer conversion in c or exactly what the instruction does. The later has implications across the board.