summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-05 14:13:43 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-05 14:13:43 +0000
commit2f72570992fa3765ea21ebde75a76edfc4a60261 (patch)
treed52319176e50ea472e4e1cf08bb7fcf953dbd180 /toolchain
parenta54e0dd97fe0b5c57afbcdc8462c2112331c22f3 (diff)
downloadbuildroot-novena-2f72570992fa3765ea21ebde75a76edfc4a60261.tar.gz
buildroot-novena-2f72570992fa3765ea21ebde75a76edfc4a60261.zip
toolchain/gcc/4.3.2: use what really got committed upstream for PR39076
Thanks to Sven Neumann for noticing.
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/4.3.2/306-arm-funroll-loops.patch31
-rw-r--r--toolchain/gcc/4.3.2/900-backport-fix-for-bug-39076.patch11
2 files changed, 11 insertions, 31 deletions
diff --git a/toolchain/gcc/4.3.2/306-arm-funroll-loops.patch b/toolchain/gcc/4.3.2/306-arm-funroll-loops.patch
deleted file mode 100644
index be66b4dc7..000000000
--- a/toolchain/gcc/4.3.2/306-arm-funroll-loops.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-ChangeLog (regrename)
-
- gcc/
- * regrename.c: Unshare RTX earlier in build_def_use to avoid
- corruption of dup_loc.
-
-
-Index: gcc/regrename.c
-===================================================================
---- a/gcc/regrename.c (revision 197947)
-+++ b/gcc/regrename.c (working copy)
-@@ -783,6 +783,10 @@ build_def_use (basic_block bb)
- recog_data.operand_type[i] = OP_INOUT;
- }
-
-+ /* Unshare dup_loc RTL */
-+ for (i = 0; i < recog_data.n_dups; i++)
-+ *recog_data.dup_loc[i] = copy_rtx(*recog_data.dup_loc[i]);
-+
- /* Step 1: Close chains for which we have overlapping reads. */
- for (i = 0; i < n_ops; i++)
- scan_rtx (insn, recog_data.operand_loc[i],
-@@ -813,7 +817,7 @@ build_def_use (basic_block bb)
- OP_IN, 0);
-
- for (i = 0; i < recog_data.n_dups; i++)
-- *recog_data.dup_loc[i] = copy_rtx (old_dups[i]);
-+ *recog_data.dup_loc[i] = old_dups[i];
- for (i = 0; i < n_ops; i++)
- *recog_data.operand_loc[i] = old_operands[i];
- if (recog_data.n_dups)
diff --git a/toolchain/gcc/4.3.2/900-backport-fix-for-bug-39076.patch b/toolchain/gcc/4.3.2/900-backport-fix-for-bug-39076.patch
new file mode 100644
index 000000000..f76e8ae0e
--- /dev/null
+++ b/toolchain/gcc/4.3.2/900-backport-fix-for-bug-39076.patch
@@ -0,0 +1,11 @@
+--- gcc-4.3.2.orig/gcc/regrename.c 2007-09-09 04:23:47.000000000 +0200
++++ gcc-4.3.2/gcc/regrename.c 2009-02-05 10:23:59.000000000 +0100
+@@ -813,7 +813,7 @@
+ OP_IN, 0);
+
+ for (i = 0; i < recog_data.n_dups; i++)
+- *recog_data.dup_loc[i] = copy_rtx (old_dups[i]);
++ *recog_data.dup_loc[i] = old_dups[i];
+ for (i = 0; i < n_ops; i++)
+ *recog_data.operand_loc[i] = old_operands[i];
+ if (recog_data.n_dups)