[Bug c/55544] invalid optimisation long long->double->long long (with -m32)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55544 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|
[Bug c/55544] invalid optimisation long long->double->long long (with -m32)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55544 --- Comment #1 from Mikael Pettersson 2012-11-30 12:37:49 UTC --- (In reply to comment #0) > double d = (double)v1; Doesn't this overflow and provoke undefined behaviour when v1 is 9223372036854774781LL (0x7bfd)?