aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2009-04-26 22:09:50 +0000
committerMichael Matz <matz@gcc.gnu.org>2009-04-26 22:09:50 +0000
commitddc34084b6f0fe85ae52114044dd4a27f57ad8b6 (patch)
tree8c9d7c82cbaab42b2eff59d07e4c41277e227a98 /gcc/tree-optimize.c
parent1fec7ed49860c248ae85a293ded8fff4c3ed238d (diff)
downloadgcc-ddc34084b6f0fe85ae52114044dd4a27f57ad8b6.zip
gcc-ddc34084b6f0fe85ae52114044dd4a27f57ad8b6.tar.gz
gcc-ddc34084b6f0fe85ae52114044dd4a27f57ad8b6.tar.bz2
tree-pass.h (pass_del_ssa, [...]): Remove decls.
* tree-pass.h (pass_del_ssa, pass_mark_used_blocks, pass_free_cfg_annotations, pass_free_datastructures): Remove decls. * gimple-low.c (mark_blocks_with_used_vars, mark_used_blocks, pass_mark_used_blocks): Remove. * tree-optimize.c (pass_free_datastructures, execute_free_cfg_annotations, pass_free_cfg_annotations): Remove. * passes.c (init_optimization_passes): Don't call pass_mark_used_blocks, remove dead code. From-SVN: r146819
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r--gcc/tree-optimize.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c
index 7b4913c..0256584 100644
--- a/gcc/tree-optimize.c
+++ b/gcc/tree-optimize.c
@@ -236,51 +236,6 @@ execute_free_datastructures (void)
return 0;
}
-struct gimple_opt_pass pass_free_datastructures =
-{
- {
- GIMPLE_PASS,
- NULL, /* name */
- NULL, /* gate */
- execute_free_datastructures, /* execute */
- NULL, /* sub */
- NULL, /* next */
- 0, /* static_pass_number */
- TV_NONE, /* tv_id */
- PROP_cfg, /* properties_required */
- 0, /* properties_provided */
- 0, /* properties_destroyed */
- 0, /* todo_flags_start */
- 0 /* todo_flags_finish */
- }
-};
-/* Pass: free cfg annotations. */
-
-static unsigned int
-execute_free_cfg_annotations (void)
-{
- return 0;
-}
-
-struct gimple_opt_pass pass_free_cfg_annotations =
-{
- {
- GIMPLE_PASS,
- NULL, /* name */
- NULL, /* gate */
- execute_free_cfg_annotations, /* execute */
- NULL, /* sub */
- NULL, /* next */
- 0, /* static_pass_number */
- TV_NONE, /* tv_id */
- PROP_cfg, /* properties_required */
- 0, /* properties_provided */
- 0, /* properties_destroyed */
- 0, /* todo_flags_start */
- 0 /* todo_flags_finish */
- }
-};
-
/* Pass: fixup_cfg. IPA passes, compilation of earlier functions or inlining
might have changed some properties, such as marked functions nothrow.
Remove redundant edges and basic blocks, and create new ones if necessary.