OSDN Git Service

mn10300: Enable the compare-elim pass.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2011 19:37:55 +0000 (19:37 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2011 19:37:55 +0000 (19:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169132 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mn10300/mn10300.c

index 562a1dc..fb069e3 100644 (file)
@@ -1,5 +1,7 @@
 2011-01-21  Richard Henderson  <rth@redhat.com>
 
+       * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
+
        * compare-elim.c: New file.
        * Makefile.in (OBJS-common): Add it.
        (compare-elim.o): New.
index 8a042f6..cbdf02d 100644 (file)
@@ -3021,4 +3021,7 @@ mn10300_split_and_operand_count (rtx op)
 #undef TARGET_MD_ASM_CLOBBERS
 #define TARGET_MD_ASM_CLOBBERS  mn10300_md_asm_clobbers
 
+#undef  TARGET_FLAGS_REGNUM
+#define TARGET_FLAGS_REGNUM  CC_REG
+
 struct gcc_target targetm = TARGET_INITIALIZER;