Commit 770a7feb by Richard Henderson Committed by Richard Henderson

flow.c (calculate_global_regs_live): Mark frame pointer live everywhere before reload.

        * flow.c (calculate_global_regs_live): Mark frame pointer live
        everywhere before reload.

From-SVN: r35862
parent 280db205
2000-08-21 Richard Henderson <rth@cygnus.com>
* flow.c (calculate_global_regs_live): Mark frame pointer live
everywhere before reload.
2000-08-21 Jim Wilson <wilson@cygnus.com> 2000-08-21 Jim Wilson <wilson@cygnus.com>
* real.c (ereal_from_int, ereal_from_uint, significand_size): Handle * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
......
...@@ -3191,6 +3191,12 @@ calculate_global_regs_live (blocks_in, blocks_out, flags) ...@@ -3191,6 +3191,12 @@ calculate_global_regs_live (blocks_in, blocks_out, flags)
the case for blocks within infinite loops. */ the case for blocks within infinite loops. */
SET_REGNO_REG_SET (new_live_at_end, STACK_POINTER_REGNUM); SET_REGNO_REG_SET (new_live_at_end, STACK_POINTER_REGNUM);
/* Similarly for the frame pointer before reload. Any reference
to any pseudo before reload is a potential reference of the
frame pointer. */
if (! reload_completed)
SET_REGNO_REG_SET (new_live_at_end, FRAME_POINTER_REGNUM);
/* Regs used in phi nodes are not included in /* Regs used in phi nodes are not included in
global_live_at_start, since they are live only along a global_live_at_start, since they are live only along a
particular edge. Set those regs that are live because of a particular edge. Set those regs that are live because of a
......
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