diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-05-28 15:22:49 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-05-28 13:22:49 +0000 |
commit | 018b22f3316ae73a57c0c19f7598b34afac954f7 (patch) | |
tree | 0046ba35e03fc3d2306740ba76c874f4bbe79d3d | |
parent | 350216e36781a6c7805ebbe83d522df74a23dae3 (diff) | |
download | gcc-018b22f3316ae73a57c0c19f7598b34afac954f7.zip gcc-018b22f3316ae73a57c0c19f7598b34afac954f7.tar.gz gcc-018b22f3316ae73a57c0c19f7598b34afac954f7.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f9ea20..86cf148 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-27 Jan Hubicka <hubicka@ucw.cz> + + * tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental + commit. + 2016-05-28 Alan Modra <amodra@gmail.com> * 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 e38d246..e70e0a7 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; |