aboutsummaryrefslogtreecommitdiff
path: root/gcc/web.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-10-17 06:15:38 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-10-17 06:15:38 +0000
commit8c266ffa32d238cc400fa8ed92448de789f67739 (patch)
treefef0784fa67a3a57115f1178eca84b52d9a8e0aa /gcc/web.c
parentd564b816874a443ae3ced1f11b48633abe412cc3 (diff)
downloadgcc-8c266ffa32d238cc400fa8ed92448de789f67739.zip
gcc-8c266ffa32d238cc400fa8ed92448de789f67739.tar.gz
gcc-8c266ffa32d238cc400fa8ed92448de789f67739.tar.bz2
df-problems.c (df_kill_notes): Split up in two functions.
* df-problems.c (df_kill_notes): Split up in two functions. (df_remove_dead_and_unused_notes): New function, first half of df_kill notes to remove all REG_DEAD and REG_UNUSED notes. (df_remove_dead_eq_notes): New function, second half of df_kill_notes to remove REG_EQUAL and REG_EQUIV notes referring to dead registers. (df_note_bb_compute): Call df_remove_dead_and_unused_notes instead of df_kill_notes. Call df_remove_dead_eq_notes after processing insn. * web.c (web): Re-add DF_RD_PRUNE_DEAD_DEFS; From-SVN: r192526
Diffstat (limited to 'gcc/web.c')
-rw-r--r--gcc/web.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/web.c b/gcc/web.c
index 2816681..d565634 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -336,8 +336,7 @@ web_main (void)
rtx insn;
df_set_flags (DF_NO_HARD_REGS + DF_EQ_NOTES);
- /* We can not RD_PRUNE_DEAD_DEFS, because we care about REG_EQUAL
- notes. */
+ df_set_flags (DF_RD_PRUNE_DEAD_DEFS);
df_chain_add_problem (DF_UD_CHAIN);
df_analyze ();
df_set_flags (DF_DEFER_INSN_RESCAN);