OSDN Git Service

* passes.c (rest_of_handle_old_regalloc): Delete unreachable blocks
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Nov 2004 12:10:23 +0000 (12:10 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Nov 2004 12:10:23 +0000 (12:10 +0000)
if local_alloc modified jumps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91516 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/passes.c

index 510cc38..ff6a404 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 37e84c8..c2cd4e0 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);
     }