Commit 40e2dfaa by Anatoly Sokolov Committed by Anatoly Sokolov

m32r.c (TARGET_MEMORY_MOVE_COSTS): Remove.

	* config/m32r/m32r.c (TARGET_MEMORY_MOVE_COSTS): Remove.
	(TARGET_MEMORY_MOVE_COST): Define.
	(m32r_function_arg): Annotate argument 'type' with ATTRIBUTE_UNUSED.

From-SVN: r164340
parent b5fbd147
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
......
......@@ -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))
......
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