+2001-03-16 Jim Wilson <wilson@redhat.com>
+
+ * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
+ then set it to LOC_REG (79) instead of aborting.
+
2001-03-16 Phil Edwards <pme@sources.redhat.com>
* gccbug.in: Remove high priority.
if (frame_pointer_needed)
{
current_frame_info.reg_fp = find_gr_spill (1);
- /* We should have gotten at least LOC79, since that's what
- HARD_FRAME_POINTER_REGNUM is. */
+ /* If we did not get a register, then we take LOC79. This is guaranteed
+ to be free, even if regs_ever_live is already set, because this is
+ HARD_FRAME_POINTER_REGNUM. This requires incrementing n_local_regs,
+ as we don't count loc79 above. */
if (current_frame_info.reg_fp == 0)
- abort ();
+ {
+ current_frame_info.reg_fp = LOC_REG (79);
+ current_frame_info.n_local_regs++;
+ }
}
if (! current_function_is_leaf)