===================================================================
@@ -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
===================================================================
@@ -795,7 +795,7 @@ word_dce_process_block (basic_block bb,
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
===================================================================
@@ -2472,7 +2472,7 @@ df_word_lr_bb_local_compute (unsigned in
{
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++)
{