reload1.c (reload): Revert Schmidt's change so all USEs are not deleted during reload.
authorJeffrey D. Oldham <oldham@codesourcery.com>
Wed, 6 Jun 2001 03:32:54 +0000 (03:32 +0000)
committerJeffrey D. Oldham <oldham@gcc.gnu.org>
Wed, 6 Jun 2001 03:32:54 +0000 (03:32 +0000)
2001-06-05  Jeffrey D. Oldham  <oldham@codesourcery.com>

* reload1.c (reload): Revert Schmidt's change so all USEs are not
deleted during reload.

From-SVN: r42935

gcc/ChangeLog
gcc/reload1.c

index 77cf39501c42ea32cf8be4124b61b64804d3fce1..bd7c622427db181a157c225bd8df2fc0b4b5ba5e 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-05  Jeffrey D. Oldham  <oldham@codesourcery.com>
+
+       * reload1.c (reload): Revert Schmidt's change so all USEs are not
+       deleted during reload.
+
 2001-06-05  Mark Mitchell  <mark@codesourcery.com>
 
        * c-semantics.c (genrtl_scope_stmt): Write out nested inline
index 53c3116f29a6fe0ca573dabc90b8e059720def5d..5f08444ec914a76aff3b205a5a1f29c9ff5edc18 100644 (file)
@@ -1187,7 +1187,7 @@ reload (first, global)
                                         CALL_INSN_FUNCTION_USAGE (insn));
 
        if ((GET_CODE (PATTERN (insn)) == USE
-            && INSN_UID (insn) >= reload_first_uid)
+            && find_reg_note (insn, REG_EQUAL, NULL_RTX))
            || (GET_CODE (PATTERN (insn)) == CLOBBER
                && (GET_CODE (XEXP (PATTERN (insn), 0)) != REG
                    || ! REG_FUNCTION_VALUE_P (XEXP (PATTERN (insn), 0)))))