Commit 0a35e2fd by Jeffrey A Law Committed by Jeff Law

pa.c (compute_frame_size): Scan all the used callee saved registers, not just the first one.

        * pa.c (compute_frame_size): Scan all the used callee saved registers,
        not just the first one.

From-SVN: r28237
parent 6c9c5c1f
Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
* pa.c (compute_frame_size): Scan all the used callee saved registers,
not just the first one.
Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
* config/arm/arm.h (TARGET_SWITCHES): Add
......
......@@ -2558,10 +2558,7 @@ compute_frame_size (size, fregs_live)
for (i = 18; i >= 3; i--)
if (regs_ever_live[i])
{
fsize += UNITS_PER_WORD;
break;
}
fsize += UNITS_PER_WORD;
/* Round the stack. */
fsize = (fsize + 7) & ~7;
......@@ -2573,7 +2570,6 @@ compute_frame_size (size, fregs_live)
*fregs_live = 1;
fsize += 8;
break;
}
fsize += current_function_outgoing_args_size;
......
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