summaryrefslogtreecommitdiff
path: root/gcc/ssa-ccp.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-06 19:56:21 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-06 19:56:21 +0000
commit1a7cfed3b5fd7d5025afdd770b75cef9aeca7c81 (patch)
tree525718a5543ba3730c51234bf188411533ee9f28 /gcc/ssa-ccp.c
parentf760eb7d0ded2ec2c030b73132b498fd7d9d7c5b (diff)
downloadgcc-1a7cfed3b5fd7d5025afdd770b75cef9aeca7c81.tar.gz
* ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
after completing fast dead code elimination. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ssa-ccp.c')
-rw-r--r--gcc/ssa-ccp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ssa-ccp.c b/gcc/ssa-ccp.c
index 9d2d9c9170e..4b602a3875e 100644
--- a/gcc/ssa-ccp.c
+++ b/gcc/ssa-ccp.c
@@ -1218,4 +1218,9 @@ ssa_fast_dce (df)
}
sbitmap_free (worklist);
+
+ /* Update the use-def chains in the df_analyzer as needed. */
+ df_analyse (df_analyzer, 0,
+ DF_RD_CHAIN | DF_RU_CHAIN | DF_REG_INFO | DF_HARD_REGS);
+
}