summaryrefslogtreecommitdiffstats
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-08 11:32:55 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-08 11:32:55 +0000
commit60e2260d11bf67e7727554383182ed52ae160725 (patch)
tree1961e8e0bc587bdc6794357138121267ec4c8320 /gcc/calls.c
parent26558addd47f0b00a6310798ea9ba97cbe27e346 (diff)
downloadppe42-gcc-60e2260d11bf67e7727554383182ed52ae160725.tar.gz
ppe42-gcc-60e2260d11bf67e7727554383182ed52ae160725.zip
2008-05-08 Kai Tietz <kai.tietz@onevision.com>
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index b382a726c03..bbb9b769c49 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;
OpenPOWER on IntegriCloud