diff options
author | drochner <drochner@pkgsrc.org> | 2003-07-09 15:23:53 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-07-09 15:23:53 +0000 |
commit | f1bd37d7e60351b7c10cb0f7788e77751369fd9c (patch) | |
tree | ef1f5c3ea8d2eae07bcc74b35c65cb7f59a2e906 /lang/gcc3-c++ | |
parent | 95bd11b46efeb94a10bb260ab07031a6ab84613d (diff) | |
download | pkgsrc-f1bd37d7e60351b7c10cb0f7788e77751369fd9c.tar.gz |
The file affected by the bugfix (unroll.c) is potentially used by all
language backends.
Diffstat (limited to 'lang/gcc3-c++')
-rw-r--r-- | lang/gcc3-c++/distinfo | 3 | ||||
-rw-r--r-- | lang/gcc3-c++/patches/patch-ba | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/gcc3-c++/distinfo b/lang/gcc3-c++/distinfo index 1d1256a673a..26f2cacf20a 100644 --- a/lang/gcc3-c++/distinfo +++ b/lang/gcc3-c++/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2003/07/08 15:04:59 drochner Exp $ +$NetBSD: distinfo,v 1.3 2003/07/09 15:23:56 drochner Exp $ SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a Size (gcc-3.3.tar.bz2) = 23447616 bytes SHA1 (patch-aa) = 93a4299e7d64b91f750ba96c75f0487cdf87abea +SHA1 (patch-ba) = 9037d2504c5db6458494a18852d57c1ef5c9dcdb diff --git a/lang/gcc3-c++/patches/patch-ba b/lang/gcc3-c++/patches/patch-ba new file mode 100644 index 00000000000..b306c8d0d02 --- /dev/null +++ b/lang/gcc3-c++/patches/patch-ba @@ -0,0 +1,16 @@ +$NetBSD: patch-ba,v 1.1 2003/07/09 15:23:57 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. |