summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2003-07-08 16:30:44 +0000
committerabs <abs@pkgsrc.org>2003-07-08 16:30:44 +0000
commit778857b37bf5c23c61868cefd0ac59866931b77c (patch)
treeec397053a1edc02e9645a4d06ce89f7edcf3c9fa /lang
parent26acfcb09423df89943fa0c3d389072e77ce846d (diff)
downloadpkgsrc-778857b37bf5c23c61868cefd0ac59866931b77c.tar.gz
Update gcc3 to gcc3-3.3nb4:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955 * unroll.c (unroll_loop): Fix off-by-one bug. Fixes build issue with xdm and -O3 Suggested by fredb
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc3/Makefile4
-rw-r--r--lang/gcc3/distinfo3
-rw-r--r--lang/gcc3/patches/patch-aa16
3 files changed, 20 insertions, 3 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index d64bac83474..f671d728814 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2003/07/06 15:33:36 seb Exp $
+# $NetBSD: Makefile,v 1.36 2003/07/08 16:30:44 abs Exp $
#
DISTNAME= gcc-3.3
-PKGREVISION= 3
+PKGREVISION= 4
PKGNAME= ${DISTNAME:C|gcc|gcc3|}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
diff --git a/lang/gcc3/distinfo b/lang/gcc3/distinfo
index 85f4c0adf0e..1d2c82e2fec 100644
--- a/lang/gcc3/distinfo
+++ b/lang/gcc3/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2003/07/04 16:27:28 seb Exp $
+$NetBSD: distinfo,v 1.11 2003/07/08 16:30:45 abs Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
+SHA1 (patch-aa) = 9037d2504c5db6458494a18852d57c1ef5c9dcdb
SHA1 (patch-ab) = 8e899db69149894e737e1f68372f3eef9c403635
SHA1 (patch-ae) = e5dd184ca1b0c415215e82d0250469792a432741
diff --git a/lang/gcc3/patches/patch-aa b/lang/gcc3/patches/patch-aa
new file mode 100644
index 00000000000..b8424c5f29d
--- /dev/null
+++ b/lang/gcc3/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.4 2003/07/08 16:30:46 abs 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.