From: Richard Stallman Date: Mon, 21 Dec 1992 11:09:43 +0000 (+0000) Subject: (ASM_OUTPUT_CASE_END): Use switch_table_difference_label_flag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20e52bf16a4b02a1790d46180d2a421115a1c3d6;p=gcc.git (ASM_OUTPUT_CASE_END): Use switch_table_difference_label_flag. From-SVN: r2901 --- diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h index cd49577373e..d064b5c5328 100644 --- a/gcc/config/m68k/m68kv4.h +++ b/gcc/config/m68k/m68kv4.h @@ -222,12 +222,15 @@ do { \ putc ('\n', (FILE)); \ } -/* SVR4 m68k assembler is bitching on the syntax `2.b'. Change - it back to use the "LLDnnn-LLnnn" format. */ +/* SVR4 m68k assembler is bitching on the syntax `2.b'. + So use the "LLDnnn-LLnnn" format. Define LLDnnn after the table. */ #undef ASM_OUTPUT_CASE_END -#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE) \ - if (RTX_INTEGRATED_P (TABLE)) \ - asm_fprintf (FILE, "\t%s %LLD%d,%LL%d\n",\ - SET_ASM_OP, (NUM), (NUM)) +#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE) \ +do { \ + if (switch_table_difference_label_flag) \ + asm_fprintf ((FILE), "\t%s %LLD%d,%LL%d\n", SET_ASM_OP, (NUM), (NUM));\ + switch_table_difference_label_flag = 0; \ +} while (0) +int switch_table_difference_label_flag;