diff options
author | Richard Henderson <rth@cygnus.com> | 2000-02-24 14:32:10 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-02-24 14:32:10 -0800 |
commit | c8082519f279ac59aca7b534b1ac4c8430a35e87 (patch) | |
tree | 400e6c00bd72a7756ca160bd707d7aa376a06d8a /gcc/flow.c | |
parent | e5f8d4c0c773d4fb4f92c1a2feed01b4806d3d80 (diff) | |
download | gcc-c8082519f279ac59aca7b534b1ac4c8430a35e87.zip gcc-c8082519f279ac59aca7b534b1ac4c8430a35e87.tar.gz gcc-c8082519f279ac59aca7b534b1ac4c8430a35e87.tar.bz2 |
flow.c (life_analysis): When collecting reg info, clear regs_ever_live.
* flow.c (life_analysis): When collecting reg info, clear
regs_ever_live.
From-SVN: r32139
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. */ |