* reload.c (find_reloads_address): Fix thinko in previous change.

From-SVN: r86345
This commit is contained in:
Mark Mitchell 2004-08-21 00:04:06 +00:00 committed by Mark Mitchell
parent 0da457fbc3
commit 0e544c3732
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2004-08-20 Mark Mitchell <mark@codesourcery.com>
* reload.c (find_reloads_address): Fix thinko in previous change.
* reload.c (find_reloads_address): Reload the sum of a LO_SUM and
a CONST_INT.

View File

@ -4916,8 +4916,7 @@ find_reloads_address (enum machine_mode mode, rtx *memrefloc, rtx ad,
continue;
operand = XEXP (XEXP (ad, 0), op_index);
if (!(REG_P (operand)
|| REGNO (operand) < FIRST_PSEUDO_REGISTER))
if (!REG_P (operand) || REGNO (operand) >= FIRST_PSEUDO_REGISTER)
continue;
if ((REG_MODE_OK_FOR_BASE_P (operand, mode)