aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ft32/ft32.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/ft32/ft32.c')
-rw-r--r--gcc/config/ft32/ft32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/ft32/ft32.c b/gcc/config/ft32/ft32.c
index bc49963..a298e64 100644
--- a/gcc/config/ft32/ft32.c
+++ b/gcc/config/ft32/ft32.c
@@ -417,7 +417,8 @@ ft32_compute_frame (void)
cfun->machine->size_for_adjusting_sp =
0 // crtl->args.pretend_args_size
+ cfun->machine->local_vars_size
- + (ACCUMULATE_OUTGOING_ARGS ? crtl->outgoing_args_size : 0);
+ + (ACCUMULATE_OUTGOING_ARGS
+ ? (HOST_WIDE_INT) crtl->outgoing_args_size : 0);
}
// Must use LINK/UNLINK when...