summaryrefslogtreecommitdiff
path: root/gcc/df-core.c
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-13 18:51:57 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-13 18:51:57 +0000
commit0a7642a1eeb4f6b89a769dd35db58c66e78275de (patch)
tree20968a51926dec9cf3491965e9b3fb7e6d5adbe2 /gcc/df-core.c
parent975b6791235ee92d2dcd19b7dad0e9c27a209693 (diff)
downloadgcc-0a7642a1eeb4f6b89a769dd35db58c66e78275de.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166719 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-core.c')
-rw-r--r--gcc/df-core.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/df-core.c b/gcc/df-core.c
index 181c1e7ce22..86ed23919a2 100644
--- a/gcc/df-core.c
+++ b/gcc/df-core.c
@@ -1427,29 +1427,6 @@ df_set_bb_dirty (basic_block bb)
}
-/* Mark BB as needing it's transfer functions as being out of
- date, except for LR problem. Used when analyzing DEBUG_INSNs,
- as LR problem can trigger DCE, and DEBUG_INSNs shouldn't ever
- shorten or enlarge lifetime of regs. */
-
-void
-df_set_bb_dirty_nonlr (basic_block bb)
-{
- if (df)
- {
- int p;
- for (p = 1; p < df->num_problems_defined; p++)
- {
- struct dataflow *dflow = df->problems_in_order[p];
- if (dflow == df_lr)
- continue;
- if (dflow->out_of_date_transfer_functions)
- bitmap_set_bit (dflow->out_of_date_transfer_functions, bb->index);
- dflow->solutions_dirty = true;
- }
- }
-}
-
/* Grow the bb_info array. */
void