From 033df0b9d2a1c7488bca6c4d2d42ce1acc05eb85 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Thu, 8 May 2008 11:32:55 +0000 Subject: calls.c (compute_argument_block_size ): Add ATTRIBUTE_UNUSED to fndecl argument. 2008-05-08 Kai Tietz PR/36180 * calls.c (compute_argument_block_size ): Add ATTRIBUTE_UNUSED to fndecl argument. (emit_library_call_value_1): Add ATTRIBUTE_UNUSED to variable fndecl. * target-def.h: Check that TARGET_RETURN_IN_MEMORY isn't declared in front. From-SVN: r135079 --- gcc/calls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/calls.c') diff --git a/gcc/calls.c b/gcc/calls.c index b382a72..bbb9b76 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1189,7 +1189,7 @@ initialize_argument_information (int num_actuals ATTRIBUTE_UNUSED, static int compute_argument_block_size (int reg_parm_stack_space, struct args_size *args_size, - tree fndecl, + tree fndecl ATTRIBUTE_UNUSED, int preferred_stack_boundary ATTRIBUTE_UNUSED) { int unadjusted_args_size = args_size->constant; @@ -3281,7 +3281,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, rtx fun; /* Todo, choose the correct decl type of orgfun. Sadly this information isn't present here, so we default to native calling abi here. */ - tree fndecl = NULL_TREE; /* library calls default to host calling abi ? */ + tree fndecl ATTRIBUTE_UNUSED = NULL_TREE; /* library calls default to host calling abi ? */ int inc; int count; rtx argblock = 0; -- cgit v1.1