summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-01 17:54:20 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-01 17:54:20 +0000
commite3a89ab10bc0633528a32ea601f74ffe2f81f42c (patch)
tree45d7d8ca4ab6d87742950806dbf834020fd44715
parentc4f77c2725b617ab39158bb6f9688a18811810df (diff)
downloadppe42-gcc-e3a89ab10bc0633528a32ea601f74ffe2f81f42c.tar.gz
ppe42-gcc-e3a89ab10bc0633528a32ea601f74ffe2f81f42c.zip
* config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/v850/v850.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d01598972dc..4cbb6110c9d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index c1dbd783113..45bcead6d79 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -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) \
OpenPOWER on IntegriCloud