summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivcanon.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenth@gcc.gnu.org>2005-03-21 15:52:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-03-21 15:52:44 +0000
commit37f7367a4dd309eab4ec90143eb7e3f5c31cb1dc (patch)
treeb6b7cd97f3de27237777ff437129a78c29b072c2 /gcc/tree-ssa-loop-ivcanon.c
parente5a8980bb96ce4809da58d3ced2bd4725305368a (diff)
downloadgcc-37f7367a4dd309eab4ec90143eb7e3f5c31cb1dc.tar.gz
tree-ssa-loop.c (gate_tree_complete_unroll): Run complete unrolling if -fpeel-loops is specified, too.
2005-03-21 Richard Guenther <rguenth@gcc.gnu.org> * tree-ssa-loop.c (gate_tree_complete_unroll): Run complete unrolling if -fpeel-loops is specified, too. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Remove superfluous check for flag_unroll_loops. From-SVN: r96808
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
-rw-r--r--gcc/tree-ssa-loop-ivcanon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index ab21465953a..a15f0235d18 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -168,9 +168,6 @@ try_unroll_loop_completely (struct loops *loops ATTRIBUTE_UNUSED,
if (n_unroll)
{
- if (!flag_unroll_loops)
- return false;
-
old_cond = COND_EXPR_COND (cond);
COND_EXPR_COND (cond) = dont_exit;
modify_stmt (cond);