summaryrefslogtreecommitdiff
path: root/gcc/config/cr16/cr16.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/cr16/cr16.c')
-rw-r--r--gcc/config/cr16/cr16.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/cr16/cr16.c b/gcc/config/cr16/cr16.c
index b9305701923..7e6f1d2a41c 100644
--- a/gcc/config/cr16/cr16.c
+++ b/gcc/config/cr16/cr16.c
@@ -1286,7 +1286,9 @@ cr16_legitimate_address_p (enum machine_mode mode ATTRIBUTE_UNUSED,
/* Return cost of the memory address x. */
static int
-cr16_address_cost (rtx addr, bool speed ATTRIBUTE_UNUSED)
+cr16_address_cost (rtx addr, enum machine_mode mode ATTRIBUTE_UNUSED,
+ addr_space_t as ATTRIBUTE_UNUSED,
+ bool speed ATTRIBUTE_UNUSED)
{
enum cr16_addrtype addrtype;
struct cr16_address address;