summaryrefslogtreecommitdiff
path: root/gcc/df-scan.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2010-11-13 18:51:57 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2010-11-13 18:51:57 +0000
commitf9aeaebf753879df9218686b8148dc82bbb838a5 (patch)
tree20968a51926dec9cf3491965e9b3fb7e6d5adbe2 /gcc/df-scan.c
parent44538c626c072106122ae7b7f81a3775806c6df5 (diff)
downloadgcc-f9aeaebf753879df9218686b8148dc82bbb838a5.tar.gz
re PR rtl-optimization/42889 ("-fcompare-debug failure (length)" with "-O1 -fgcse")
PR debug/42889 * df-scan.c (df_insn_rescan): Don't mark BBs upon debug insns. * df-core.c (df_set_bb_dirty_nonrl): Remove. * df.h (df_set_bb_dirty_nonlr): Likewise. From-SVN: r166719
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r--gcc/df-scan.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index b2b88b5d97b..850f06702bb 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -1261,9 +1261,7 @@ df_insn_rescan (rtx insn)
}
df_refs_add_to_chains (&collection_rec, bb, insn);
- if (DEBUG_INSN_P (insn))
- df_set_bb_dirty_nonlr (bb);
- else
+ if (!DEBUG_INSN_P (insn))
df_set_bb_dirty (bb);
VEC_free (df_ref, stack, collection_rec.def_vec);