From 2ea998c8f533e1a20895e2e7f69bbae58f4d15e0 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 17 Feb 1994 02:46:09 +0000 Subject: [PATCH] (i960_function_prologue): Put register save area before outgoing arg block. From-SVN: r6580 --- gcc/config/i960/i960.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index d11c625c73a..47c55612be4 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -1098,8 +1098,8 @@ i960_function_prologue (file, size) } /* Take hardware register save area created by the call instruction - into account. */ - offset = compute_frame_size (size) + 64; + into account, but store them before the argument block area. */ + offset = 64 + actual_fsize - compute_frame_size (0) - rsize; /* Save registers on stack if needed. */ for (i = 0, j = n_iregs; j > 0 && i < 16; i++) { -- 2.30.2