diff options
author | Steven Bosscher <stevenb.gcc@gmail.com> | 2006-03-14 21:04:56 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2006-03-14 21:04:56 +0000 |
commit | 1cba0d4e32105c2d4ce2296f1eb6b3e9b567e824 (patch) | |
tree | e57c39e3673aef4ff41f4ab12768547638d0b44a /gcc | |
parent | a277877c3122725837b36ea63a5d8d0669c01743 (diff) | |
download | gcc-1cba0d4e32105c2d4ce2296f1eb6b3e9b567e824.zip gcc-1cba0d4e32105c2d4ce2296f1eb6b3e9b567e824.tar.gz gcc-1cba0d4e32105c2d4ce2296f1eb6b3e9b567e824.tar.bz2 |
tree-pass.h (pass_cfg): Remove.
* tree-pass.h (pass_cfg): Remove.
* alias.c (rest_of_handle_cfg, pass_cfg): Remove.
* passes.c (pass_cfg): Don't run it.
From-SVN: r112069
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/alias.c | 31 | ||||
-rw-r--r-- | gcc/passes.c | 1 | ||||
-rw-r--r-- | gcc/tree-pass.h | 1 |
4 files changed, 6 insertions, 33 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4258bd..15fbdc7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-03-14 Steven Bosscher <stevenb.gcc@gmail.com> + + * tree-pass.h (pass_cfg): Remove. + * alias.c (rest_of_handle_cfg, pass_cfg): Remove. + * passes.c (pass_cfg): Don't run it. + 2006-03-14 Kazu Hirata <kazu@codesourcery.com> * Makefile.in (reg-stack.o): Don't depend on gt-reg-stack.h. diff --git a/gcc/alias.c b/gcc/alias.c index d66d0c7..ad9855d 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -2642,36 +2642,5 @@ end_alias_analysis (void) free (reg_known_equiv_p); reg_known_equiv_p = 0; } - -/* Do control and data flow analysis; write some of the results to the - dump file. */ -static unsigned int -rest_of_handle_cfg (void) -{ - if (dump_file) - dump_flow_info (dump_file, dump_flags); - if (optimize) - cleanup_cfg (CLEANUP_EXPENSIVE - | (flag_thread_jumps ? CLEANUP_THREADING : 0)); - return 0; -} - -struct tree_opt_pass pass_cfg = -{ - "cfg", /* name */ - NULL, /* gate */ - rest_of_handle_cfg, /* execute */ - NULL, /* sub */ - NULL, /* next */ - 0, /* static_pass_number */ - TV_FLOW, /* tv_id */ - 0, /* properties_required */ - 0, /* properties_provided */ - 0, /* properties_destroyed */ - 0, /* todo_flags_start */ - TODO_dump_func, /* todo_flags_finish */ - 'f' /* letter */ -}; - #include "gt-alias.h" diff --git a/gcc/passes.c b/gcc/passes.c index f6a97f6..85bfefa 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -634,7 +634,6 @@ init_optimization_passes (void) NEXT_PASS (pass_cse); NEXT_PASS (pass_gcse); NEXT_PASS (pass_jump_bypass); - NEXT_PASS (pass_cfg); NEXT_PASS (pass_rtl_ifcvt); NEXT_PASS (pass_tracer); /* Perform loop optimizations. It might be better to do them a bit diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index a7c3f00..7f05d3c 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -334,7 +334,6 @@ extern struct tree_opt_pass pass_jump2; extern struct tree_opt_pass pass_cse; extern struct tree_opt_pass pass_gcse; extern struct tree_opt_pass pass_jump_bypass; -extern struct tree_opt_pass pass_cfg; extern struct tree_opt_pass pass_profiling; extern struct tree_opt_pass pass_rtl_ifcvt; extern struct tree_opt_pass pass_tracer; |