Commit 58b500dc by Richard Stallman

(print_operand_address): Pass rtx, not regno, to REG_OK_FOR_INDEX_P.

From-SVN: r1303
parent 0b6d0e8b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment