Commit 033df0b9 by Kai Tietz Committed by Kai Tietz

calls.c (compute_argument_block_size ): Add ATTRIBUTE_UNUSED to fndecl argument.

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.

From-SVN: r135079
parent a1b66071
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.
2008-05-08 Richard Guenther <rguenther@suse.de> 2008-05-08 Richard Guenther <rguenther@suse.de>
* tree-data-ref.c (dr_analyze_alias): Do not set DR_SUBVARS. * tree-data-ref.c (dr_analyze_alias): Do not set DR_SUBVARS.
......
...@@ -1189,7 +1189,7 @@ initialize_argument_information (int num_actuals ATTRIBUTE_UNUSED, ...@@ -1189,7 +1189,7 @@ initialize_argument_information (int num_actuals ATTRIBUTE_UNUSED,
static int static int
compute_argument_block_size (int reg_parm_stack_space, compute_argument_block_size (int reg_parm_stack_space,
struct args_size *args_size, struct args_size *args_size,
tree fndecl, tree fndecl ATTRIBUTE_UNUSED,
int preferred_stack_boundary ATTRIBUTE_UNUSED) int preferred_stack_boundary ATTRIBUTE_UNUSED)
{ {
int unadjusted_args_size = args_size->constant; int unadjusted_args_size = args_size->constant;
...@@ -3281,7 +3281,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, ...@@ -3281,7 +3281,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
rtx fun; rtx fun;
/* Todo, choose the correct decl type of orgfun. Sadly this information /* Todo, choose the correct decl type of orgfun. Sadly this information
isn't present here, so we default to native calling abi here. */ 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 inc;
int count; int count;
rtx argblock = 0; rtx argblock = 0;
......
...@@ -545,7 +545,9 @@ ...@@ -545,7 +545,9 @@
#define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_false #define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_false
#define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null #define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
#ifndef TARGET_RETURN_IN_MEMORY
#define TARGET_RETURN_IN_MEMORY default_return_in_memory #define TARGET_RETURN_IN_MEMORY default_return_in_memory
#endif
#define TARGET_RETURN_IN_MSB hook_bool_const_tree_false #define TARGET_RETURN_IN_MSB hook_bool_const_tree_false
#define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs #define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment