* RX: Fix thinkos in previous tidy up
@ 2011-05-13 11:31 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2011-05-13 11:31 UTC (permalink / raw)
To: gcc-patches
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 <nickc@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;
}
)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-13 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 11:31 RX: Fix thinkos in previous tidy up Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).