re PR target/49098 (unused parameters in rx.c:rx_memory_move_cost)

PR target/49098
	* config/rx/rx.c (rx_memory_move_cost): Note unused parameters.

From-SVN: r173999
This commit is contained in:
Nick Clifton 2011-05-21 16:35:38 +00:00 committed by Nick Clifton
parent 43e4226bb4
commit a5dfec9a97
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-05-21 Nick Clifton <nickc@redhat.com>
PR target/49098
* config/rx/rx.c (rx_memory_move_cost): Note unused parameters.
2011-05-21 Nicola Pero <nicola.pero@meta-innovation.com>
* gengtype.c (walk_type): Implemented "atomic" GTY option.

View File

@ -2636,7 +2636,9 @@ rx_trampoline_init (rtx tramp, tree fndecl, rtx chain)
}
static int
rx_memory_move_cost (enum machine_mode mode, reg_class_t regclass, bool in)
rx_memory_move_cost (enum machine_mode mode ATTRIBUTE_UNUSED,
reg_class_t regclass ATTRIBUTE_UNUSED,
bool in)
{
return (in ? 2 : 0) + REGISTER_MOVE_COST (mode, regclass, regclass);
}