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-Tag: misc/cutover-egcs-0~12628 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b500dc6c55c642234256e6c71bf16df09cfa1f;p=thirdparty%2Fgcc.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 98a3a4b8bd36..26051f916c09 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;