From a5dfec9a97f275141625257dbf1e36e9035b9ea7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 21 May 2011 16:35:38 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rx/rx.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21204a009ec..5e4b726ae82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-21 Nick Clifton + + PR target/49098 + * config/rx/rx.c (rx_memory_move_cost): Note unused parameters. + 2011-05-21 Nicola Pero * gengtype.c (walk_type): Implemented "atomic" GTY option. diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 6b0ca2e9333..685a261967e 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -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); }