http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59387
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Well, it should pass and check folded_casts to analyze_scalar_evolution_in_loop and not do anything if that is set to true and the type is TYPE_OVERFLOW_UNDEFINED (see simple_iv).