summaryrefslogtreecommitdiff
path: root/gcc/config/m32r/m32r.c
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-16 16:25:27 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-16 16:25:27 +0000
commit09c20b6202cc51a7b8d416630d8033b24d813346 (patch)
tree60669d48a77bd9b724dc2feb6781048344c198b7 /gcc/config/m32r/m32r.c
parentb77e33ca84d0531e7ce9bf81e2bbe22a7b3ee26a (diff)
downloadgcc-09c20b6202cc51a7b8d416630d8033b24d813346.tar.gz
* config/m32r/m32r.c (TARGET_MEMORY_MOVE_COSTS): Remove.
(TARGET_MEMORY_MOVE_COST): Define. (m32r_function_arg): Annotate argument 'type' with ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164340 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r/m32r.c')
-rw-r--r--gcc/config/m32r/m32r.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index 7b8b8fc3d13..6748f04527c 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -163,8 +163,8 @@ static const struct attribute_spec m32r_attribute_table[] =
#define TARGET_IN_SMALL_DATA_P m32r_in_small_data_p
-#undef TARGET_MEMORY_MOVE_COSTS
-#define TARGET_MEMORY_MOVE_COSTS m32r_memory_move_costs
+#undef TARGET_MEMORY_MOVE_COST
+#define TARGET_MEMORY_MOVE_COST m32r_memory_move_cost
#undef TARGET_RTX_COSTS
#define TARGET_RTX_COSTS m32r_rtx_costs
#undef TARGET_ADDRESS_COST
@@ -1264,7 +1264,8 @@ m32r_arg_partial_bytes (CUMULATIVE_ARGS *cum, enum machine_mode mode,
static rtx
m32r_function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
- const_tree type, bool named ATTRIBUTE_UNUSED)
+ const_tree type ATTRIBUTE_UNUSED,
+ bool named ATTRIBUTE_UNUSED)
{
return (PASS_IN_REG_P (*cum, mode, type)
? gen_rtx_REG (mode, ROUND_ADVANCE_CUM (*cum, mode, type))