From 099590dcb65d899ffdf0c24785fb31dbdfed06cc Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 24 Oct 2008 23:45:02 +0000 Subject: PR target/37841: Fix SPU abi From-SVN: r141356 --- gcc/function.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 08dc95a..b40b0db 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3473,6 +3473,10 @@ locate_and_pad_parm (enum machine_mode passed_mode, tree type, int in_regs, locate->size.constant -= part_size_in_regs; #endif /* ARGS_GROW_DOWNWARD */ + +#ifdef FUNCTION_ARG_OFFSET + locate->offset.constant += FUNCTION_ARG_OFFSET (passed_mode, type); +#endif } /* Round the stack offset in *OFFSET_PTR up to a multiple of BOUNDARY. -- cgit v1.1