Hi Guys,

  When I applied my RX tidy up patch yesterday I forgot to rebuild the
  toolchain and thus missed a couple of thinkos with my rename of the
  rx_legitimate_constant_p function.  I therefore applying the patch
  below to fix this problem.

Cheers
  Nick

gcc/ChangeLog
2011-05-13  Nick Clifton  <ni...@redhat.com>

        * config/rx/rx.md (mov expander): Fix use of
        rx_legitimate_constant_p.
        * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename
        prototype.

Index: gcc/config/rx/rx-protos.h
===================================================================
--- gcc/config/rx/rx-protos.h   (revision 173723)
+++ gcc/config/rx/rx-protos.h   (working copy)
@@ -31,7 +31,7 @@
 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);
Index: gcc/config/rx/rx.md
===================================================================
--- gcc/config/rx/rx.md (revision 173723)
+++ gcc/config/rx/rx.md (working copy)
@@ -556,7 +556,7 @@
     if (MEM_P (operand0) && MEM_P (operand1))
       operands[1] = copy_to_mode_reg (<register_modes:MODE>mode, operand1);
     if (CONST_INT_P (operand1)
-        && ! rx_legitimate_constant_p (<register_modes:MODE>mode, operand1))
+        && ! rx_is_legitimate_constant (<register_modes:MODE>mode, operand1))
       FAIL;
   }
 )

Reply via email to