diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2010-08-04 21:07:05 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2010-08-04 21:07:05 +0000 |
commit | fde157f2ed3550acb3de83440e33c919cf7942c0 (patch) | |
tree | 0bd530ea5141ac39fb62a52699d2f53c3ee870f6 | |
parent | 69df3daed378f718d3539c32f46c707b002e95b9 (diff) | |
download | gcc-fde157f2ed3550acb3de83440e33c919cf7942c0.zip gcc-fde157f2ed3550acb3de83440e33c919cf7942c0.tar.gz gcc-fde157f2ed3550acb3de83440e33c919cf7942c0.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dce.c | 2 | ||||
-rw-r--r-- | gcc/df-problems.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0fc6486..6ed4e68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, 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 diff --git a/gcc/df-problems.c b/gcc/df-problems.c index d0d0ea7..e18ffe3 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -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++) { |