summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/m32r/m32r.c7
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 204ace3eb79..e5b16f7ea0e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-16 Anatoly Sokolov <aesok@post.ru>
+
+ * config/m32r/m32r.c (TARGET_MEMORY_MOVE_COSTS): Remove.
+ (TARGET_MEMORY_MOVE_COST): Define.
+ (m32r_function_arg): Annotate argument 'type' with ATTRIBUTE_UNUSED.
+
2010-09-16 Alexander Monakov <amonakov@ispras.ru>
* sel-sched.c (move_cond_jump): Use tidy_control_flow instead of
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))