From: Nick Clifton Date: Fri, 13 May 2011 09:35:28 +0000 (+0000) Subject: rx.md (mov expander): Fix use of rx_legitimate_constant_p. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f67e203c1f35b76c2d1a09337a4ad522eb836501;p=gcc.git 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 --- 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; } )