aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-def.h
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2008-05-08 11:32:55 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2008-05-08 13:32:55 +0200
commit033df0b9d2a1c7488bca6c4d2d42ce1acc05eb85 (patch)
tree1961e8e0bc587bdc6794357138121267ec4c8320 /gcc/target-def.h
parenta1b6607115feb11d2d36f7e62ed0dae17f7fe88c (diff)
downloadgcc-033df0b9d2a1c7488bca6c4d2d42ce1acc05eb85.zip
gcc-033df0b9d2a1c7488bca6c4d2d42ce1acc05eb85.tar.gz
gcc-033df0b9d2a1c7488bca6c4d2d42ce1acc05eb85.tar.bz2
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
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r--gcc/target-def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h
index 8566786..c4bc6962 100644
--- a/gcc/target-def.h
+++ b/gcc/target-def.h
@@ -545,7 +545,9 @@
#define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_false
#define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
+#ifndef TARGET_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_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs