From: Mark Mitchell Date: Sat, 21 Aug 2004 00:04:06 +0000 (+0000) Subject: * reload.c (find_reloads_address): Fix thinko in previous change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e544c37327922a86f9f3928cf64f7561e25373e;p=gcc.git * reload.c (find_reloads_address): Fix thinko in previous change. From-SVN: r86345 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 205e4d705e3..33c34f971e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2004-08-20 Mark Mitchell + * 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. diff --git a/gcc/reload.c b/gcc/reload.c index 715e58fa127..b3f7db80f9f 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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)