Commit fde157f2 by Bernd Schmidt Committed by Bernd Schmidt

re PR rtl-optimization/45162 (ARM bootstrap comparison failures after stage 3)

	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
parent 69df3dae
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, 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
......
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment