aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-10-23 15:34:33 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2001-10-23 13:34:33 +0000
commit635559ab2e63321fc138894332e8dc4704aea20f (patch)
tree59fd5309924b42f685561489c0b8479317babeb5 /gcc/toplev.c
parentfbb83b433067ff743fe0e6c84fc45c4c270f276d (diff)
downloadgcc-635559ab2e63321fc138894332e8dc4704aea20f.zip
gcc-635559ab2e63321fc138894332e8dc4704aea20f.tar.gz
gcc-635559ab2e63321fc138894332e8dc4704aea20f.tar.bz2
i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
* i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op. * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE to avoid update_life_info call. * basic-block.h (CLEANUP_UPATE_LIFE): Define. * cfgcleanup.c (bb_flags): New enum. (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros. (notice_new_block, update_forwarder_flag): New functions. (try_simplify_condjump): Use FORWARDER_BLOCK_P. (try_forward_edges): Likewise; update flags. (merge_blocks): Likewise. (outgoing_edges_match): Likewise. (try_crossjump_to_edge): Likewise. (try_optimize_cfg): Likewise; initialize and clear the flags; recompute life info if needed. (cleanup_cfg): No need to clear aux pointers. From-SVN: r46434
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index ca77de7..1320013 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3309,20 +3309,7 @@ rest_of_compilation (decl)
rebuild_jump_labels (insns);
timevar_pop (TV_JUMP);
- timevar_push (TV_FLOW);
- cleanup_cfg (CLEANUP_EXPENSIVE);
-
- /* Blimey. We've got to have the CFG up to date for the call to
- if_convert below. However, the random deletion of blocks
- without updating life info can wind up with Wierd Stuff in
- global_live_at_end. We then run sched1, which updates things
- properly, discovers the wierdness and aborts. */
- allocate_bb_life_data ();
- update_life_info (NULL, UPDATE_LIFE_GLOBAL_RM_NOTES,
- PROP_DEATH_NOTES | PROP_KILL_DEAD_CODE
- | PROP_SCAN_DEAD_CODE);
-
- timevar_pop (TV_FLOW);
+ cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_UPDATE_LIFE);
}
close_dump_file (DFI_combine, print_rtl_with_bb, insns);