* reload.c (find_reloads_address): Fix thinko in previous change.
authorMark Mitchell <mark@codesourcery.com>
Sat, 21 Aug 2004 00:04:06 +0000 (00:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 21 Aug 2004 00:04:06 +0000 (00:04 +0000)
From-SVN: r86345

gcc/ChangeLog
gcc/reload.c

index 205e4d705e3b0312a169a128d76457372e565707..33c34f971e5ca60ca1f0ec1c6a7bd64aea34afe7 100644 (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.
 
index 715e58fa127b0af945c83e961493d427543cadac..b3f7db80f9f31b814f27834893217c0c6dc59f24 100644 (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)