summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch')
-rw-r--r--meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99442.patch
new file mode 100644
index 000000000..62c44784b
--- /dev/null
+++ b/meta-oe/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