]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
flow.c (life_analysis): Update LABEL_NUSES before purging dead jumptables.
authorGraham Stott <graham.stott@btinternet.com>
Sat, 16 Nov 2002 00:46:44 +0000 (00:46 +0000)
committerGraham Stott <grahams@gcc.gnu.org>
Sat, 16 Nov 2002 00:46:44 +0000 (00:46 +0000)
        * flow.c (life_analysis): Update LABEL_NUSES before purging
        dead jumptables.

From-SVN: r59146

gcc/ChangeLog
gcc/flow.c

index 7b9ef5192c51b2a829ada40a001ab3d1bedd03f3..81f01aaf4766df6de855684c6e92a027ea277a6d 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-16  Graham Stott  <graham.stott@btinternet.com>
+
+       * flow.c (life_analysis): Update LABEL_NUSES before purging
+       dead jumptables.
+
 2002-11-13  Janis Johnson  <janis187@us.ibm.com>
 
        * doc/install.texi (Testing): Document extra Java testing.
index 8fabc2a97cf94d1d8dd79e332ba6054eeac0477b..5b43c6be06508eb0fc44c0beb73dbe00adf58553 100644 (file)
@@ -499,6 +499,9 @@ life_analysis (f, file, flags)
       }
   }
 #endif
+
+  rebuild_jump_labels (get_insns ());
+
   /* Removing dead insns should've made jumptables really dead.  */
   delete_dead_jumptables ();
 }