From f67e203c1f35b76c2d1a09337a4ad522eb836501 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 13 May 2011 09:35:28 +0000 Subject: [PATCH] rx.md (mov expander): Fix use of rx_legitimate_constant_p. * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. From-SVN: r173727 --- gcc/ChangeLog | 7 +++++++ gcc/config/rx/rx-protos.h | 2 +- gcc/config/rx/rx.md | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9ae05a491d..c91a39d7680 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-05-13 Nick Clifton + + * config/rx/rx.md (mov expander): Fix use of + rx_legitimate_constant_p. + * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename + prototype. + 2011-05-13 Kai Tietz PR middle-end/48984 diff --git a/gcc/config/rx/rx-protos.h b/gcc/config/rx/rx-protos.h index 72cb199ce30..56d69316905 100644 --- a/gcc/config/rx/rx-protos.h +++ b/gcc/config/rx/rx-protos.h @@ -31,7 +31,7 @@ extern void rx_emit_stack_popm (rtx *, bool); extern void rx_emit_stack_pushm (rtx *); extern void rx_expand_epilogue (bool); extern char * rx_gen_move_template (rtx *, bool); -extern bool rx_legitimate_constant_p (enum machine_mode, rtx); +extern bool rx_is_legitimate_constant (enum machine_mode, rtx); extern bool rx_is_restricted_memory_address (rtx, enum machine_mode); extern bool rx_match_ccmode (rtx, enum machine_mode); diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md index 824d246cb84..a9cf50e21e3 100644 --- a/gcc/config/rx/rx.md +++ b/gcc/config/rx/rx.md @@ -556,7 +556,7 @@ if (MEM_P (operand0) && MEM_P (operand1)) operands[1] = copy_to_mode_reg (mode, operand1); if (CONST_INT_P (operand1) - && ! rx_legitimate_constant_p (mode, operand1)) + && ! rx_is_legitimate_constant (mode, operand1)) FAIL; } ) -- 2.30.2