summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2010-12-23 14:02:13 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2010-12-23 14:02:13 +0100
commit7eb7dce48ba082c30f1fceced04c275420158b9a (patch)
treed2f5b6bed38d7ffc0aad7f5c313701da4d8a8e19 /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch
parent8bb6722b1356cc3b8494e33553240363addd2d80 (diff)
downloadmeta-openembedded-7eb7dce48ba082c30f1fceced04c275420158b9a.tar.gz
gcc 4.5: sync with both OE and yocto
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch
new file mode 100644
index 0000000000..62c44784b6
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch
@@ -0,0 +1,23 @@
12010-11-24 Maxim Kuvyrkov <maxim@codesourcery.com>
2
3 gcc/
4 * loop-iv.c (get_biv_step): Workaround loop analysis ICE.
5
6=== modified file 'gcc/loop-iv.c'
7--- old/gcc/loop-iv.c 2009-11-25 10:55:54 +0000
8+++ new/gcc/loop-iv.c 2010-12-10 15:32:04 +0000
9@@ -796,6 +796,13 @@
10 outer_step))
11 return false;
12
13+ /* CSL local: workaround get_biv_step_1() inability to handle DU
14+ chains originating at sets of subregs. Such subregs are introduced
15+ by Tom's extension elimination pass. For upstream duscussion see
16+ http://gcc.gnu.org/ml/gcc/2010-11/msg00552.html . */
17+ if (!((*inner_mode == *outer_mode) != (*extend != UNKNOWN)))
18+ return false;
19+
20 gcc_assert ((*inner_mode == *outer_mode) != (*extend != UNKNOWN));
21 gcc_assert (*inner_mode != *outer_mode || *outer_step == const0_rtx);
22
23