summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99418.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-r99418.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-r99418.patch')
-rw-r--r--recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99418.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99418.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99418.patch
new file mode 100644
index 0000000000..3ea7956f0f
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99418.patch
@@ -0,0 +1,25 @@
12010-10-20 Yao Qi <yao@codesourcery.com>
2
3 Merge from Sourcery G++ to fix LP:660021
4 2010-10-18 Paul Brook <paul@codesourcery.com>
5
6 * tree-vect-stmts.c (supportable_widening_operation): Check if wide
7 vector type exists.
8
9=== modified file 'gcc/tree-vect-stmts.c'
10Index: gcc-4.5/gcc/tree-vect-stmts.c
11===================================================================
12--- gcc-4.5.orig/gcc/tree-vect-stmts.c
13+++ gcc-4.5/gcc/tree-vect-stmts.c
14@@ -4867,6 +4867,11 @@ supportable_widening_operation (enum tre
15 tree wide_vectype = get_vectype_for_scalar_type (type);
16 enum tree_code c1, c2;
17
18+ /* Check we have a valid vector type for the result. */
19+ if (!wide_vectype)
20+ return false;
21+
22+
23 /* The result of a vectorized widening operation usually requires two vectors
24 (because the widened results do not fit int one vector). The generated
25 vector results would normally be expected to be generated in the same