]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/45162 (ARM bootstrap comparison failures after stage 3)
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 4 Aug 2010 21:07:05 +0000 (21:07 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 4 Aug 2010 21:07:05 +0000 (21:07 +0000)
PR rtl-optimization/45162
* df-problems.c (df_word_lr_bb_local_compute): Ignore DEBUG_INSNs.
* dce.c (word_dce_process_block): Likewise.

From-SVN: r162881

gcc/ChangeLog
gcc/dce.c
gcc/df-problems.c

index 0fc6486523ba7179720911d4bf4cdba7456ee052..6ed4e68716ccd6a83b9d60d2abf1572ea528e142 100644 (file)
@@ -1,3 +1,9 @@
+2010-08-04  Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR rtl-optimization/45162
+       * df-problems.c (df_word_lr_bb_local_compute): Ignore DEBUG_INSNs.
+       * dce.c (word_dce_process_block): Likewise.
+
 2010-08-04  Steve Ellcey  <sje@cup.hp.com>
 
        PR target/44583
index c940adf304fa9de44ec6bdaf5d8a4fbaaf867fe3..2d4f3a61706a41f6b28e9111c05c44c96a834d1f 100644 (file)
--- a/gcc/dce.c
+++ b/gcc/dce.c
@@ -795,7 +795,7 @@ word_dce_process_block (basic_block bb, bool redo_out)
   bitmap_copy (local_live, DF_WORD_LR_OUT (bb));
 
   FOR_BB_INSNS_REVERSE (bb, insn)
-    if (INSN_P (insn))
+    if (NONDEBUG_INSN_P (insn))
       {
        bool any_changed;
        /* No matter if the instruction is needed or not, we remove
index d0d0ea7160869f5e7f14deffe28c32b308c87ecc..e18ffe3c5d9a1809713a35f36a8b6ec06bbd2d67 100644 (file)
@@ -2472,7 +2472,7 @@ df_word_lr_bb_local_compute (unsigned int bb_index)
     {
       unsigned int uid = INSN_UID (insn);
 
-      if (!INSN_P (insn))
+      if (!NONDEBUG_INSN_P (insn))
        continue;
       for (def_rec = DF_INSN_UID_DEFS (uid); *def_rec; def_rec++)
        {