OSDN Git Service

* config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jun 2006 17:54:20 +0000 (17:54 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jun 2006 17:54:20 +0000 (17:54 +0000)
shift, as we've disabled the "switch" insn that needs it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114315 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/v850/v850.h

index d015989..4cbb611 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-01  DJ Delorie  <dj@redhat.com>
+
+       * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
+       shift, as we've disabled the "switch" insn that needs it.
+
 2006-06-01  Per Bothner  <bothner@bothner.com>
 
        Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
index c1dbd78..45bcead 100644 (file)
@@ -987,12 +987,14 @@ typedef enum
 
 /* This is how to output an element of a case-vector that is relative.  */
 
+/* Disable the shift, which is for the currently disabled "switch"
+   opcode.  Se casesi in v850.md.  */
 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL)               \
   fprintf (FILE, "\t%s %s.L%d-.L%d%s\n",                               \
           (TARGET_BIG_SWITCH ? ".long" : ".short"),                    \
-          (! TARGET_BIG_SWITCH && TARGET_V850E ? "(" : ""),            \
+          (0 && ! TARGET_BIG_SWITCH && TARGET_V850E ? "(" : ""),               \
           VALUE, REL,                                                  \
-          (! TARGET_BIG_SWITCH && TARGET_V850E ? ")>>1" : ""))
+          (0 && ! TARGET_BIG_SWITCH && TARGET_V850E ? ")>>1" : ""))
 
 #define ASM_OUTPUT_ALIGN(FILE, LOG)    \
   if ((LOG) != 0)                      \