+2009-11-18 Alexandre Oliva <aoliva@redhat.com>
+
+ * df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns.
+ (df_ref_remove): Likewise.
+
2009-11-17 Jan Hubicka <jh@suse.cz>
* ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile
/* By adding the ref directly, df_insn_rescan my not find any
differences even though the block will have changed. So we need
to mark the block dirty ourselves. */
- df_set_bb_dirty (bb);
+ if (!DEBUG_INSN_P (DF_REF_INSN (ref)))
+ df_set_bb_dirty (bb);
return ref;
}
/* By deleting the ref directly, df_insn_rescan my not find any
differences even though the block will have changed. So we need
to mark the block dirty ourselves. */
- df_set_bb_dirty (DF_REF_BB (ref));
+ if (!DEBUG_INSN_P (DF_REF_INSN (ref)))
+ df_set_bb_dirty (DF_REF_BB (ref));
df_reg_chain_unlink (ref);
}