https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to M W from comment #19) > There is a difference between "undefined" and "unpredictable." If returning > "0" instead of a binary representation of the number amounts to "undefined" > (like every other platform) then I think you are wrong. > > Done. If the value of the integral part cannot be represented by the integer type, the behavior is undefined.