From 57d6c446c787d1dacd89c5cd504747d6857ad494 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Sun, 24 Nov 2013 19:15:36 +0000 Subject: jump.c (reset_insn_reg_label_operand_notes): New function, split out from ... * jump.c (reset_insn_reg_label_operand_notes): New function, split out from ... (init_label_info): ... here. Reset LABEL_NUSES in cfglayout mode. * cfgcleanup.c (delete_dead_jump_tables_between): New function, split out from ... (delete_dead_jumptables): ... here. Handle cfglayout mode. (cleanup_cfg): Delete dead jump tables in cfglayout mode if an expensive CFG cleanup is called for. * cfgrtl.c (fixup_reorder_chain): Remove BARRIERs from fallthru paths. (cfg_layout_finalize): Delete dead jump tables before re-building the insns chain. * ira.c (ira): Rebuild jump labels *after* deleting unreachable basic blocks, not before. * loop-init.c (rtl_loop_done): Call for an expensive CFG cleanup. * modulo-sched.c (sms_schedule): Do not look for BARRIERs in the insns chain of a scheduling extended basic block, they cannot appear there in cfglayout mode. From-SVN: r205337 --- gcc/ira.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ira.c') diff --git a/gcc/ira.c b/gcc/ira.c index 2902ebe..43f98d4 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -5273,9 +5273,9 @@ ira (FILE *f) if (optimize && rebuild_p) { timevar_push (TV_JUMP); - rebuild_jump_labels (get_insns ()); if (purge_all_dead_edges ()) delete_unreachable_blocks (); + rebuild_jump_labels (get_insns ()); timevar_pop (TV_JUMP); } -- cgit v1.1