From: Richard Stallman Date: Sat, 27 Jun 1992 05:21:14 +0000 (+0000) Subject: (print_operand_address): Pass rtx, not regno, to REG_OK_FOR_INDEX_P. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58b500dc6c55c642234256e6c71bf16df09cfa1f;p=gcc.git (print_operand_address): Pass rtx, not regno, to REG_OK_FOR_INDEX_P. From-SVN: r1303 --- diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index 98a3a4b8bd3..26051f916c0 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -526,7 +526,7 @@ print_operand_address (file, addr) #ifdef INDEX_RATHER_THAN_BASE /* This is a re-implementation of the SEQUENT_ADDRESS_BUG fix. */ if (base && !indexexp && GET_CODE (base) == REG - && REG_OK_FOR_INDEX_P (REGNO (base)) + && REG_OK_FOR_INDEX_P (base) { indexexp = base; base = 0;