summaryrefslogtreecommitdiff
path: root/gcc/config/rx
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rx')
-rw-r--r--gcc/config/rx/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index 146e7c94a8b..472ddc22baf 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -2724,7 +2724,8 @@ rx_is_legitimate_constant (enum machine_mode mode ATTRIBUTE_UNUSED, rtx x)
}
static int
-rx_address_cost (rtx addr, bool speed)
+rx_address_cost (rtx addr, enum machine_mode mode ATTRIBUTE_UNUSED,
+ addr_space_t as ATTRIBUTE_UNUSED, bool speed)
{
rtx a, b;