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 /gcc/dce.c | |
parent | 69df3daed378f718d3539c32f46c707b002e95b9 (diff) | |
download | gcc-fde157f2ed3550acb3de83440e33c919cf7942c0.tar.gz |
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
Diffstat (limited to 'gcc/dce.c')
-rw-r--r-- | gcc/dce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dce.c b/gcc/dce.c index c940adf304f..2d4f3a61706 100644 --- a/gcc/dce.c +++ b/gcc/dce.c @@ -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 |