summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-24 22:32:10 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-24 22:32:10 +0000
commit2012925d6a6c8a48b1d9052174fc80520205cfea (patch)
tree400e6c00bd72a7756ca160bd707d7aa376a06d8a /gcc
parent9200a51c2d34465350ec13e279dbe7662e9f0abb (diff)
downloadppe42-gcc-2012925d6a6c8a48b1d9052174fc80520205cfea.tar.gz
ppe42-gcc-2012925d6a6c8a48b1d9052174fc80520205cfea.zip
* flow.c (life_analysis): When collecting reg info, clear
regs_ever_live. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/flow.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a337cf9c9db..5424ba46328 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-24 Richard Henderson <rth@cygnus.com>
+
+ * flow.c (life_analysis): When collecting reg info, clear
+ regs_ever_live.
+
Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
Fix bug exposed by reload.c no longer rounding the frame
diff --git a/gcc/flow.c b/gcc/flow.c
index a7217dbf486..bde9945be04 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2524,6 +2524,9 @@ life_analysis (f, nregs, file, remove_dead_code)
/* "Update" life info from zero. It'd be nice to begin the
relaxation with just the exit and noreturn blocks, but that set
is not immediately handy. */
+
+ if (flags & PROP_REG_INFO)
+ memset (regs_ever_live, 0, sizeof(regs_ever_live));
update_life_info (all_blocks, UPDATE_LIFE_GLOBAL, flags);
/* Clean up. */
OpenPOWER on IntegriCloud