https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69088
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- Inf is not a finite value in the range of int, thus the conversion invokes undefined behaviour.