[Bug tree-optimization/10520] induction variable analysis not used to eliminate comparisons

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 13 11:05:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10520

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
First of all number-of-iteration analysis would need to figure out that
the vars don't overflow ... (thus that the loop terminates).  It cannot
even compute the number of iterations symbolically.



More information about the Gcc-bugs mailing list