Message ID | 20160528122259.GA61699@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Index: tree-ssa-loop-niter.c =================================================================== --- tree-ssa-loop-niter.c (revision 236816) +++ tree-ssa-loop-niter.c (working copy) @@ -2289,11 +2289,7 @@ number_of_iterations_exit (struct loop * /* If NITER has simplified into a constant, update MAX. */ if (TREE_CODE (niter->niter) == INTEGER_CST) - { - niter->max = wi::to_widest (niter->niter); - record_niter_bound (loop, niter->max, loop_only_exit_p (loop, exit), - true); - } + niter->max = wi::to_widest (niter->niter); if (integer_onep (niter->assumptions)) return true;