Commit c8082519 by Richard Henderson Committed by Richard Henderson

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
parent e5f8d4c0
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
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment