diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-21 18:35:01 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-21 18:35:01 +0000 |
commit | fd0a91c904330c07f19abbf58a3fd6c5b9ea7054 (patch) | |
tree | 3e378ffbc4bd3a77692e46eb69adb0a947df6cce | |
parent | e725c0e9d1aa459ea0e4fdd13cad7a9e485fee5e (diff) | |
download | gcc-fd0a91c904330c07f19abbf58a3fd6c5b9ea7054.tar.gz |
Revert:
2013-08-20 Alexey Makhalov <makhaloff@gmail.com>
* dce.c (fini_dce): Call df_analyze again just in case
delete_unmarked_insns removed anything.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201905 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/dce.c | 11 |
2 files changed, 8 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e27be24a3f..7162f3498cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2013-08-21 Jeff Law <law@redhat.com> + + Revert: + 2013-08-20 Alexey Makhalov <makhaloff@gmail.com> + + * dce.c (fini_dce): Call df_analyze again just in case + delete_unmarked_insns removed anything. + 2013-08-21 Joern Rennecke <joern.rennecke@embecosm.com> * reload.h (struct reg_equivs): Rename to .. diff --git a/gcc/dce.c b/gcc/dce.c index c0dd87a2628..fa22316b5cc 100644 --- a/gcc/dce.c +++ b/gcc/dce.c @@ -745,17 +745,6 @@ fini_dce (bool fast) bitmap_obstack_release (&dce_blocks_bitmap_obstack); bitmap_obstack_release (&dce_tmp_bitmap_obstack); } - - /* If DCE removes the last reference to a hard register, we want - to recompute REGS_EVER_LIVE and the global life information. - - Ideally we'd look at REGS_EVER_LIVE before and after and only - rerun DF analysis if something changed. */ - if (!df_in_progress) - { - df_compute_regs_ever_live (true); - df_analyze (); - } } |