From 0e544c37327922a86f9f3928cf64f7561e25373e Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sat, 21 Aug 2004 00:04:06 +0000 Subject: [PATCH] * reload.c (find_reloads_address): Fix thinko in previous change. From-SVN: r86345 --- gcc/ChangeLog | 2 ++ gcc/reload.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) 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) -- 2.30.2