diff options
author | Jeff Law <law@redhat.com> | 2002-03-06 12:56:21 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2002-03-06 12:56:21 -0700 |
commit | d094b0b31366673aff4d9fd229f5d7e1cdd65389 (patch) | |
tree | 525718a5543ba3730c51234bf188411533ee9f28 | |
parent | 2ca6672b2713bed413a3a21e0468db1723de41cb (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/ssa-ccp.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a5c8c6..64cf53d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,9 @@ Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) + * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains + after completing fast dead code elimination. + * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a COMPARE operator. 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); + } |