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
This commit is contained in:
Bernd Schmidt 2010-08-04 21:07:05 +00:00 committed by Bernd Schmidt
parent 69df3daed3
commit fde157f2ed
3 changed files with 8 additions and 2 deletions

View 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

View File

@ -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

View 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++)
{