diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-17 06:15:38 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-17 06:15:38 +0000 |
commit | b250e9bb90b1062d9c4701492f117edbaea5e319 (patch) | |
tree | fef0784fa67a3a57115f1178eca84b52d9a8e0aa /gcc/web.c | |
parent | a87a40624a779e47a3d2872f05c704b1630f00cc (diff) | |
download | gcc-b250e9bb90b1062d9c4701492f117edbaea5e319.tar.gz |
* 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;
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/web.c')
-rw-r--r-- | gcc/web.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/web.c b/gcc/web.c index 2816681da1c..d56563430c2 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); |