passes.c (rest_of_handle_old_regalloc): Delete unreachable blocks if local_alloc...
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 30 Nov 2004 12:10:23 +0000 (12:10 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 30 Nov 2004 12:10:23 +0000 (12:10 +0000)
* passes.c (rest_of_handle_old_regalloc): Delete unreachable blocks
if local_alloc modified jumps.

From-SVN: r91516

gcc/ChangeLog
gcc/passes.c

index 510cc389b4f4bc53f9f8d2b315443d5d882e6227..ff6a404d837ea39ad514a413a3142921b0ccb275 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * passes.c (rest_of_handle_old_regalloc): Delete unreachable blocks
+       if local_alloc modified jumps.
+
 2004-11-30  Alan Modra  <amodra@bigpond.net.au>
 
        * varasm.c (default_encode_section_info): Don't set SYMBOL_FLAG_SMALL
index 37e84c8de8befb57e200e24950c7c76158f7bb24..c2cd4e0d6c7fe3270e770268ff01560cf46468df 100644 (file)
@@ -502,6 +502,7 @@ rest_of_handle_old_regalloc (void)
 
       rebuild_jump_labels (get_insns ());
       purge_all_dead_edges (0);
+      delete_unreachable_blocks ();
 
       timevar_pop (TV_JUMP);
     }