summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:03:58 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-11-02 22:12:02 +0100
commitbe10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch)
tree9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch
parent93b28937ac67ba46d65f55637e42552e224aa7e2 (diff)
downloadmeta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch
new file mode 100644
index 0000000000..d51f0874e3
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99377.patch
@@ -0,0 +1,28 @@
1 Issue #1510
2 2007-04-27 Paul Brook <paul@codesourcery.com>
3 gcc/
4 * cse.c (cse_process_notes): Make sure PLUS are canonical.
5
62010-08-26 Paul Brook <paul@codesourcery.com>
7
8 Merge from Sourcery G++ 4.3/4.4:
9 2007-03-30 Paul Brook <paul@codesourcery.com>
10 gcc/
11 * calls.c (store_one_arg): Check alignment of mode used for save.
12
13=== modified file 'gcc/cse.c'
14--- old/gcc/cse.c 2010-01-12 20:25:10 +0000
15+++ new/gcc/cse.c 2010-08-26 15:53:20 +0000
16@@ -6061,6 +6061,11 @@
17 validate_change (object, &XEXP (x, i),
18 cse_process_notes (XEXP (x, i), object, changed), 0);
19
20+ /* Rebuild a PLUS expression in canonical form if the first operand
21+ ends up as a constant. */
22+ if (code == PLUS && GET_CODE (XEXP (x, 0)) == CONST_INT)
23+ return plus_constant (XEXP(x, 1), INTVAL (XEXP (x, 0)));
24+
25 return x;
26 }
27
28