From ef3c94bbde64bee6c008b5d78f95995d7cfa1758 Mon Sep 17 00:00:00 2001 From: kaloz Date: Fri, 16 Dec 2005 13:56:09 +0000 Subject: [PATCH] add gcc bugfix git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2700 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch | 16 ++++++++++++++++ toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch create mode 100644 toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch diff --git a/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch b/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch new file mode 100644 index 000000000..c7419af90 --- /dev/null +++ b/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch @@ -0,0 +1,16 @@ +Index: gcc/gcse.c +=================================================================== +RCS file: /cvs/gcc/gcc/gcc/gcse.c,v +retrieving revision 1.288.2.9 +diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c +--- gcc/gcc/gcse.c 30 Oct 2004 18:02:53 -0000 1.288.2.9 ++++ gcc/gcc/gcse.c 14 Jul 2005 13:19:57 -0000 +@@ -6445,7 +6445,7 @@ hoist_code (void) + insn_inserted_p = 0; + + /* These tests should be the same as the tests above. */ +- if (TEST_BIT (hoist_vbeout[bb->index], i)) ++ if (TEST_BIT (hoist_exprs[bb->index], i)) + { + /* We've found a potentially hoistable expression, now + we look at every block BB dominates to see if it diff --git a/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch b/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch new file mode 100644 index 000000000..c7419af90 --- /dev/null +++ b/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch @@ -0,0 +1,16 @@ +Index: gcc/gcse.c +=================================================================== +RCS file: /cvs/gcc/gcc/gcc/gcse.c,v +retrieving revision 1.288.2.9 +diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c +--- gcc/gcc/gcse.c 30 Oct 2004 18:02:53 -0000 1.288.2.9 ++++ gcc/gcc/gcse.c 14 Jul 2005 13:19:57 -0000 +@@ -6445,7 +6445,7 @@ hoist_code (void) + insn_inserted_p = 0; + + /* These tests should be the same as the tests above. */ +- if (TEST_BIT (hoist_vbeout[bb->index], i)) ++ if (TEST_BIT (hoist_exprs[bb->index], i)) + { + /* We've found a potentially hoistable expression, now + we look at every block BB dominates to see if it