From 86fc6921a23779b1f281aa35a5db1bd4ea555b5f Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 29 Jan 2010 12:14:47 +0000 Subject: PR rtl-optimization/42889 * df.h (df_set_bb_dirty_nonlr): New prototype. * df-core.c (df_set_bb_dirty_nonlr): New function. * df-scan.c (df_insn_rescan): Call it instead of df_set_bb_dirty for DEBUG_INSNs. * gcc.dg/pr42889.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156344 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/df-scan.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/df-scan.c') diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 6c8c42b0f7c..c3a3dc70c89 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -1301,7 +1301,10 @@ df_insn_rescan (rtx insn) } df_refs_add_to_chains (&collection_rec, bb, insn); - df_set_bb_dirty (bb); + if (DEBUG_INSN_P (insn)) + df_set_bb_dirty_nonlr (bb); + else + df_set_bb_dirty (bb); VEC_free (df_ref, stack, collection_rec.def_vec); VEC_free (df_ref, stack, collection_rec.use_vec); -- cgit v1.2.1