From e3a89ab10bc0633528a32ea601f74ffe2f81f42c Mon Sep 17 00:00:00 2001 From: dj Date: Thu, 1 Jun 2006 17:54:20 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 5 +++++ gcc/config/v850/v850.h | 6 ++++-- 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 + + * 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 Suppress extra '#1 or '#1 ' 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) \ -- 2.11.0