aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2007-01-27 14:48:02 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2007-01-27 14:48:02 +0000
commit9eab67850ba2faf07c1bb3e4f12b4754003066cc (patch)
treec09108de229652b098e73519159d1d90297a51d9 /gcc/cfgcleanup.c
parent90e7f69de54c68a7de7966158428bfb4232fc07e (diff)
downloadgcc-9eab67850ba2faf07c1bb3e4f12b4754003066cc.zip
gcc-9eab67850ba2faf07c1bb3e4f12b4754003066cc.tar.gz
gcc-9eab67850ba2faf07c1bb3e4f12b4754003066cc.tar.bz2
tracer.c (rest_of_handle_tracer): We already cleaned up the CFG in tracer() so don't do it here again.
* tracer.c (rest_of_handle_tracer): We already cleaned up the CFG in tracer() so don't do it here again. * cfgcleanup.c (rest_of_handle_jump2): Don't repeat cleanup_cfg here, either. And don't call renumber_insns. * cfgrtl.c (rtl_verify_flow_info_1): Don't verify that BB_END and BB_HEAD are in the insn stream here. Instead make sure that BB_INSN is valid on all insns. Also, do check here that there are no pending branch predictions... (rtl_verify_flow_info): ...instead of doing it here. Checks for BB_END and BB_HEAD moved from rtl_verify_flow_info_1 to here. From-SVN: r121231
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 7f2abf1..d7c29b7 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -2318,16 +2318,6 @@ rest_of_handle_jump2 (void)
dump_flow_info (dump_file, dump_flags);
cleanup_cfg ((optimize ? CLEANUP_EXPENSIVE : 0)
| (flag_thread_jumps ? CLEANUP_THREADING : 0));
-
- if (optimize)
- cleanup_cfg (CLEANUP_EXPENSIVE);
-
- /* Jump optimization, and the removal of NULL pointer checks, may
- have reduced the number of instructions substantially. CSE, and
- future passes, allocate arrays whose dimensions involve the
- maximum instruction UID, so if we can reduce the maximum UID
- we'll save big on memory. */
- renumber_insns ();
return 0;
}