aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index a7217db..bde9945 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. */