http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49543
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-28 09:31:35 UTC --- There is undefined behavior if the overflow occurs, so the upcast is valid.