aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2000-05-24 06:21:35 +0200
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-05-24 04:21:35 +0000
commit5896bebb9a0a086051cc4b02677883a671666912 (patch)
treeb8e951453921c18ce14d6cc441ff97de3e4cce7d
parent5c6df0588cce2eefc726cecdec3687df1c8c96d5 (diff)
downloadgcc-5896bebb9a0a086051cc4b02677883a671666912.zip
gcc-5896bebb9a0a086051cc4b02677883a671666912.tar.gz
gcc-5896bebb9a0a086051cc4b02677883a671666912.tar.bz2
* ifcvt.c (if_convert): Update life info globally.
From-SVN: r34119
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ifcvt.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 38007d8..35bd6ce 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-24 Jakub Jelinek <jakub@redhat.com>
+
+ * ifcvt.c (if_convert): Update life info globally.
+
2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* emit-rtl.c (unshare_all_decls): New function.
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index 3b15c14..6b43793 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -2037,7 +2037,9 @@ if_convert (life_data_ok)
SET_BIT (update_life_blocks, block_num);
count_or_remove_death_notes (update_life_blocks, 1);
- update_life_info (update_life_blocks, UPDATE_LIFE_LOCAL,
+ /* ??? See about adding a mode that verifies that the initial
+ set of blocks don't let registers come live. */
+ update_life_info (update_life_blocks, UPDATE_LIFE_GLOBAL,
PROP_DEATH_NOTES | PROP_SCAN_DEAD_CODE
| PROP_KILL_DEAD_CODE);