[Bug tree-optimization/88272] warning: iteration 9223372036854775807 invokes undefined behavior
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 30 08:34:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88272
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Where do we set the cut-off? ;)
Btw, it's warning from do_warn_aggressive_loop_optimizations and:
/* Only warn if undefined behavior gives us lower estimate than the
known constant bound. */
|| wi::cmpu (i_bound, wi::to_widest (loop->nb_iterations)) >= 0
that looks backwards?
More information about the Gcc-bugs
mailing list