rx: Enable the compare-elim pass.
authorRichard Henderson <rth@redhat.com>
Sat, 22 Jan 2011 19:39:36 +0000 (11:39 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 22 Jan 2011 19:39:36 +0000 (11:39 -0800)
From-SVN: r169133

gcc/ChangeLog
gcc/config/rx/rx.c

index fb069e3..1dde632 100644 (file)
@@ -1,5 +1,7 @@
 2011-01-21  Richard Henderson  <rth@redhat.com>
 
+       * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
+
        * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
 
        * compare-elim.c: New file.
index 54cb737..9855c62 100644 (file)
@@ -2902,6 +2902,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" */