* flow.c (calculate_global_regs_live): Force stack pointer
live at end.
From-SVN: r33476
* flow.c (allocate_reg_life_data): Set max_regno here ...
(life_analysis): ... not here.
+ * flow.c (calculate_global_regs_live): Force stack pointer
+ live at end.
+
2000-04-26 Richard Henderson <rth@cygnus.com>
* jump.c (redirect_exp_1): Rework from old redirect_exp. Never
IOR_REG_SET (new_live_at_end, sb->global_live_at_start);
}
+ /* Force the stack pointer to be live -- which might not already be
+ the case for blocks within infinite loops. */
+ SET_REGNO_REG_SET (new_live_at_end, STACK_POINTER_REGNUM);
+
/* Regs used in phi nodes are not included in
global_live_at_start, since they are live only along a
particular edge. Set those regs that are live because of a