From 0e4f1d41f599fbbb5d338945f1b30c6ad8c37618 Mon Sep 17 00:00:00 2001
From: Sebastian Pop <sebpop@gmail.com>
Date: Tue, 16 Nov 2010 15:40:28 -0600
Subject: [PATCH 12/12] Fix pass TODOs.
---
gcc/tree-loop-flattening.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
@@ -530,7 +530,7 @@ flatten_loop (loop_p loop, tree *scratch_pad)
VEC_free (edge, heap, back_edges);
VEC_free (basic_block, heap, loop_body);
- return TODO_update_ssa | TODO_verify_ssa;
+ return TODO_cleanup_cfg;
}
/* Flattens all the loops of the current function. */
@@ -554,7 +554,6 @@ tree_loop_flattening (void)
verify_flow_info ();
#endif
- cleanup_tree_cfg ();
return todo;
}
@@ -580,7 +579,8 @@ struct gimple_opt_pass pass_flatten_loops =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func
- | TODO_update_ssa
- | TODO_ggc_collect /* todo_flags_finish */
+ | TODO_verify_ssa
+ | TODO_update_ssa
+ | TODO_ggc_collect /* todo_flags_finish */
}
};
--
1.7.0.4