From: Richard Kenner Date: Mon, 8 Aug 1994 23:56:06 +0000 (-0400) Subject: (print_operand_address): A patch for 2.5.8 ended up at the wrong place. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ce47c075f882002192a9b68c9c31ff04d2efe06;p=gcc.git (print_operand_address): A patch for 2.5.8 ended up at the wrong place. (print_operand_address): A patch for 2.5.8 ended up at the wrong place. Moved. From-SVN: r7881 --- diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index 56a5834ac28..14f21afa60f 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -766,6 +766,25 @@ print_operand_address (file, addr) output_addr_const (file, offset); if (base) fprintf (file, "(%s)", reg_names[REGNO (base)]); +#ifdef BASE_REG_NEEDED + else if (TARGET_SB) + fprintf (file, "(sb)"); + else + abort (); +#endif + fprintf (file, ")"); + break; + + default: + abort (); + } +#ifdef PC_RELATIVE + else if (GET_CODE (offset) == LABEL_REF + || GET_CODE (offset) == SYMBOL_REF + || GET_CODE (offset) == CONST + || GET_CODE (offset) == PLUS) + fprintf (file, "(pc)"); +#endif #ifdef BASE_REG_NEEDED else { @@ -785,26 +804,6 @@ print_operand_address (file, addr) abort (); } } -#endif - fprintf (file, ")"); - break; - - default: - abort (); - } -#ifdef PC_RELATIVE - else if (GET_CODE (offset) == LABEL_REF - || GET_CODE (offset) == SYMBOL_REF - || GET_CODE (offset) == CONST - || GET_CODE (offset) == PLUS) - fprintf (file, "(pc)"); -#endif -#ifdef BASE_REG_NEEDED /* this is defined if the assembler always - needs a base register */ - else if (TARGET_SB) - fprintf (file, "(sb)"); - else - abort (); #endif /* now print index if we have one */ if (indexexp)