diff mbox

[14/14] rx: Enable the compare-elimination pass.

Message ID 1295021309-28608-15-git-send-email-rth@redhat.com
State New
Headers show

Commit Message

Richard Henderson Jan. 14, 2011, 4:08 p.m. UTC
From: Richard Henderson <rth@twiddle.net>

---
 gcc/config/rx/rx.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index 0179b1f..c37ddcc 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -2864,6 +2864,9 @@  rx_match_ccmode (rtx insn, enum machine_mode cc_mode)
 #undef  TARGET_EXCEPT_UNWIND_INFO
 #define TARGET_EXCEPT_UNWIND_INFO		sjlj_except_unwind_info
 
+#undef  TARGET_FLAGS_REGNUM
+#define TARGET_FLAGS_REGNUM			CC_REG
+
 struct gcc_target targetm = TARGET_INITIALIZER;
 
 /* #include "gt-rx.h" */