This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testing m68k changes on AmigaOS and Linux/m68k
On Tue, Oct 14, 2003 at 06:47:42PM +0200, Bernardo Innocenti wrote:
> I've recently applied all my remaining m68k patches.
There is another buglet in your patches.
Gunther
--cut--
2003-10-15 Gunther Nikl <gni@gecko.de>
* config/m68k/m68k.c (m68k_output_function_prologue): use value
from current_frame when saving registers
--- m68k.c~ Mon Oct 13 14:39:45 2003
+++ m68k.c Wed Oct 15 11:59:27 2003
@@ -966,7 +966,7 @@ m68k_output_function_prologue (FILE *str
warning ("stack limit expression is not supported");
}
- if (num_saved_regs <= 2)
+ if (current_frame.reg_no <= 2)
{
/* Store each separately in the same order moveml uses.
Using two movel instructions instead of a single moveml
--cut--