OSDN Git Service

* reload1.c: Revert accidental checkin.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 1998 22:42:52 +0000 (22:42 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 1998 22:42:52 +0000 (22:42 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20106 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/reload1.c

index 1e1b6ff..6a45514 100644 (file)
@@ -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.
 
index 14c2398..e0602be 100644 (file)
@@ -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: