From df5c71ac3c955306a63994af858694a29b2e6217 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 1 Jun 2006 13:54:20 -0400 Subject: v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the shift, as we've disabled the "switch" insn that needs it. * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the shift, as we've disabled the "switch" insn that needs it. From-SVN: r114315 --- 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 d015989..4cbb611 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 c1dbd78..45bcead 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) \ -- cgit v1.1