summaryrefslogtreecommitdiffstats
path: root/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch')
-rw-r--r--toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
deleted file mode 100644
index 94d9666084..0000000000
--- a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
+++ /dev/null
@@ -1,27 +0,0 @@
12010-11-24 Richard Sandiford <richard.sandiford@linaro.org>
2
3 Launchpad #618684
4
5 Backport from mainline:
6
7 2010-04-10 Bernd Schmidt <bernds@codesourcery.com>
8
9 * reload1.c (eliminate_regs_in_insn): Don't restore an operand
10 if doing so would replace the entire pattern.
11
12=== modified file 'gcc/reload1.c'
13--- old/gcc/reload1.c 2010-10-04 00:50:43 +0000
14+++ new/gcc/reload1.c 2010-11-24 13:40:23 +0000
15@@ -3567,7 +3567,10 @@
16 {
17 /* Restore the old body. */
18 for (i = 0; i < recog_data.n_operands; i++)
19- *recog_data.operand_loc[i] = orig_operand[i];
20+ /* Restoring a top-level match_parallel would clobber the new_body
21+ we installed in the insn. */
22+ if (recog_data.operand_loc[i] != &PATTERN (insn))
23+ *recog_data.operand_loc[i] = orig_operand[i];
24 for (i = 0; i < recog_data.n_dups; i++)
25 *recog_data.dup_loc[i] = orig_operand[(int) recog_data.dup_num[i]];
26 }
27