summaryrefslogtreecommitdiff
path: root/lang/gcc3-objc/patches/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc3-objc/patches/patch-ba')
-rw-r--r--lang/gcc3-objc/patches/patch-ba16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/gcc3-objc/patches/patch-ba b/lang/gcc3-objc/patches/patch-ba
new file mode 100644
index 00000000000..11cc6706601
--- /dev/null
+++ b/lang/gcc3-objc/patches/patch-ba
@@ -0,0 +1,16 @@
+$NetBSD: patch-ba,v 1.1 2003/07/09 15:24:01 drochner Exp $
+
+--- gcc/unroll.c.orig 2003-03-25 20:23:07.000000000 +0000
++++ gcc/unroll.c
+@@ -792,9 +792,9 @@ unroll_loop (loop, insn_count, strength_
+ /* We must limit the generic test to max_reg_before_loop, because only
+ these pseudo registers have valid regno_first_uid info. */
+ for (r = FIRST_PSEUDO_REGISTER; r < max_reg_before_loop; ++r)
+- if (REGNO_FIRST_UID (r) > 0 && REGNO_FIRST_UID (r) <= max_uid_for_loop
++ if (REGNO_FIRST_UID (r) > 0 && REGNO_FIRST_UID (r) < max_uid_for_loop
+ && REGNO_FIRST_LUID (r) >= copy_start_luid
+- && REGNO_LAST_UID (r) > 0 && REGNO_LAST_UID (r) <= max_uid_for_loop
++ && REGNO_LAST_UID (r) > 0 && REGNO_LAST_UID (r) < max_uid_for_loop
+ && REGNO_LAST_LUID (r) <= copy_end_luid)
+ {
+ /* However, we must also check for loop-carried dependencies.