summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-03-17 21:41:22 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-03-17 21:41:22 +0100
commitc58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch)
tree3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
parenteec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff)
downloadmeta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz
move layer into meta-oe in preparation for future splits
As per TSC decision Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch')
-rw-r--r--meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
new file mode 100644
index 000000000..94d966608
--- /dev/null
+++ b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99437.patch
@@ -0,0 +1,27 @@
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