Index: gcc/tree-ssa-loop.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop.c,v retrieving revision 2.23 diff -u -c -3 -p -r2.23 tree-ssa-loop.c *** gcc/tree-ssa-loop.c 26 Nov 2004 06:42:25 -0000 2.23 --- gcc/tree-ssa-loop.c 13 Jan 2005 12:20:00 -0000 *************** tree_complete_unroll (void) *** 337,352 **** tree_unroll_loops_completely (current_loops); } - static bool - gate_tree_complete_unroll (void) - { - return flag_unroll_loops != 0; - } - struct tree_opt_pass pass_complete_unroll = { "cunroll", /* name */ ! gate_tree_complete_unroll, /* gate */ tree_complete_unroll, /* execute */ NULL, /* sub */ NULL, /* next */ --- 337,346 ---- tree_unroll_loops_completely (current_loops); } struct tree_opt_pass pass_complete_unroll = { "cunroll", /* name */ ! NULL, /* gate */ tree_complete_unroll, /* execute */ NULL, /* sub */ NULL, /* next */ Index: gcc/tree-ssa-loop-ivcanon.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop-ivcanon.c,v retrieving revision 2.5 diff -u -c -3 -p -r2.5 tree-ssa-loop-ivcanon.c *** gcc/tree-ssa-loop-ivcanon.c 1 Oct 2004 18:26:31 -0000 2.5 --- gcc/tree-ssa-loop-ivcanon.c 13 Jan 2005 12:20:00 -0000 *************** try_unroll_loop_completely (struct loops *** 168,174 **** if (n_unroll) { ! if (!flag_unroll_loops) return false; old_cond = COND_EXPR_COND (cond); --- 168,174 ---- if (n_unroll) { ! if (!completely_unroll) return false; old_cond = COND_EXPR_COND (cond);