From: Jan Hubicka Date: Sat, 28 May 2016 13:22:49 +0000 (+0200) Subject: tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=018b22f3316ae73a57c0c19f7598b34afac954f7;p=gcc.git tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental commit. * tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental commit. From-SVN: r236847 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f9ea20b831..86cf148bcde 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-27 Jan Hubicka + + * tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental + commit. + 2016-05-28 Alan Modra * dominance.c (verify_dominators): Don't segfault on NULL imm_bb. diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index e38d2466bb4..e70e0a7e99a 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -2289,11 +2289,7 @@ number_of_iterations_exit (struct loop *loop, edge exit, /* 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;