From 5bc80b30dfb404c576343eac379e72425bb58267 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 27 May 1998 22:42:52 +0000 Subject: [PATCH] * reload1.c: Revert accidental checkin. From-SVN: r20106 --- gcc/ChangeLog | 2 ++ gcc/reload1.c | 14 +++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e1b6ffb89a..6a45514c4b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Wed May 27 22:02:40 1998 Jeffrey A Law (law@cygnus.com) + * reload1.c: Revert accidental checkin. + * configure.lang: Fix thinko when adding a definition for target_alias to the Makefile. diff --git a/gcc/reload1.c b/gcc/reload1.c index 14c2398db77..e0602bed2ae 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -4726,19 +4726,15 @@ reload_reg_free_before_p (regno, opnum, type) return ! TEST_HARD_REG_BIT (reload_reg_used_in_other_addr, regno); case RELOAD_FOR_INPUT: - /* The only things earlier are the address for this and earlier inputs, - earlier inputs, and addresses of RELOAD_OTHER objects. */ + /* The only things earlier are the address for this and + earlier inputs, other inputs (which we know we don't conflict + with), and addresses of RELOAD_OTHER objects. */ - for (i = 0; i < opnum; i++) + for (i = 0; i <= opnum; i++) if (TEST_HARD_REG_BIT (reload_reg_used_in_input_addr[i], regno) - || TEST_HARD_REG_BIT (reload_reg_used_in_inpaddr_addr[i], regno) - || TEST_HARD_REG_BIT (reload_reg_used_in_input[i], regno)) + || TEST_HARD_REG_BIT (reload_reg_used_in_inpaddr_addr[i], regno)) return 0; - if (TEST_HARD_REG_BIT (reload_reg_used_in_input_addr[opnum], regno) - || TEST_HARD_REG_BIT (reload_reg_used_in_inpaddr_addr[opnum], regno)) - return 0; - return ! TEST_HARD_REG_BIT (reload_reg_used_in_other_addr, regno); case RELOAD_FOR_INPUT_ADDRESS: -- 2.30.2