https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63361
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- Nice, confirmed. There's minimal reproducer: cat float-cast-overflow-1.i int main (void) { volatile double d; volatile long long ll; d = 0.0; d = 0x7fffffffffffffffLL; (ll) = (d) -5.0; return 0; } I'll take a look. Thanks.