aboutsummaryrefslogtreecommitdiff
path: root/gcc/ssa-ccp.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-03-06 12:56:21 -0700
committerJeff Law <law@gcc.gnu.org>2002-03-06 12:56:21 -0700
commitd094b0b31366673aff4d9fd229f5d7e1cdd65389 (patch)
tree525718a5543ba3730c51234bf188411533ee9f28 /gcc/ssa-ccp.c
parent2ca6672b2713bed413a3a21e0468db1723de41cb (diff)
downloadgcc-d094b0b31366673aff4d9fd229f5d7e1cdd65389.zip
gcc-d094b0b31366673aff4d9fd229f5d7e1cdd65389.tar.gz
gcc-d094b0b31366673aff4d9fd229f5d7e1cdd65389.tar.bz2
ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast dead code elimination.
* ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast dead code elimination. From-SVN: r50374
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 9d2d9c9..4b602a3 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);
+
}