From: Richard Henderson Date: Sat, 22 Jan 2011 19:37:55 +0000 (-0800) Subject: mn10300: Enable the compare-elim pass. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3843787fd90e35342b396c0782e850d54ab26f88;p=gcc.git mn10300: Enable the compare-elim pass. From-SVN: r169132 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 562a1dcd62d..fb069e30b9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2011-01-21 Richard Henderson + * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. + * compare-elim.c: New file. * Makefile.in (OBJS-common): Add it. (compare-elim.o): New. diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 8a042f658a4..cbdf02dab22 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -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;