+2002-05-06 Catherine Moore <clm@redhat.com>
+
+ * config/v850/v850.c (compute_register_save_size): Make sure
+ to count all of the registers that will be saved.
+
Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (q_regs_operand): Use ANY_QI_REGS_P.
need to cover the possibility that such a helper function will
be used, despite the fact that there might be gaps in the list of
registers that need to be saved. To detect this we note that the
- helper functions always push at least register r29 if the link
- register is not used, and at least registers r27 - r31 if the
- link register is used (and provided that the function is not an
- interrupt handler). */
+ helper functions always push at least register r29 (provided
+ that the function is not an interrupt handler). */
if (TARGET_PROLOG_FUNCTION
- && (i == 2 || i >= 20)
- && regs_ever_live[LINK_POINTER_REGNUM] ? (i < 28) : (i < 30))
+ && (i == 2 || ((i >= 20) && (i < 30))))
{
if (i == 2)
{