From c6e0383c18f3695ee23706234df9c5c9e9bd3a9f Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 18 Mar 1997 14:10:38 -0800 Subject: [PATCH] (reload_reg_free_before_p, case RELOAD_FOR_OPERAND_ADDRESS): Conflicts with RELOAD_FOR_OPADDR_ADDR reloads. From-SVN: r13742 --- gcc/reload1.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/reload1.c b/gcc/reload1.c index ad0f8f805881..2a072a370e0d 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -4684,6 +4684,12 @@ reload_reg_free_before_p (regno, opnum, type) return ! TEST_HARD_REG_BIT (reload_reg_used_in_other_addr, regno); case RELOAD_FOR_OPERAND_ADDRESS: + /* Earlier reloads include RELOAD_FOR_OPADDR_ADDR reloads. */ + if (TEST_HARD_REG_BIT (reload_reg_used_in_op_addr_reload, regno)) + return 0; + + /* ... fall through ... */ + case RELOAD_FOR_OPADDR_ADDR: case RELOAD_FOR_INSN: /* These can't conflict with inputs, or each other, so all we have to