diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-10-05 16:16:16 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-10-05 16:18:20 -0700 |
commit | 4e3f2321dbcf8afd761cae198a5b1918a60d1a73 (patch) | |
tree | 1880e0916697a951488adf678157eb54c9db3d8a /recipes | |
parent | 760e489ed4d5b6b9cfb2a0af6edbf5bc69565163 (diff) | |
download | openembedded-4e3f2321dbcf8afd761cae198a5b1918a60d1a73.tar.gz |
gcc-4.5: Fix gcc-scalar-widening-pr45847.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/gcc/gcc-4.5/gcc-scalar-widening-pr45847.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes/gcc/gcc-4.5/gcc-scalar-widening-pr45847.patch b/recipes/gcc/gcc-4.5/gcc-scalar-widening-pr45847.patch index 74fb20c1f8..225534b89e 100644 --- a/recipes/gcc/gcc-4.5/gcc-scalar-widening-pr45847.patch +++ b/recipes/gcc/gcc-4.5/gcc-scalar-widening-pr45847.patch @@ -53,13 +53,11 @@ Index: gcc-4.5/gcc/tree-vect-patterns.c =================================================================== --- gcc-4.5.orig/gcc/tree-vect-patterns.c +++ gcc-4.5/gcc/tree-vect-patterns.c -@@ -410,7 +410,8 @@ vect_recog_widen_mult_pattern (gimple la - +@@ -411,6 +411,7 @@ vect_recog_widen_mult_pattern (gimple la /* Check target support */ vectype = get_vectype_for_scalar_type (half_type0); -- if (!vectype -+ if (!vec_type -+ || !vectype_out + if (!vectype ++ || !get_vectype_for_scalar_type (type); || !supportable_widening_operation (WIDEN_MULT_EXPR, last_stmt, vectype, &dummy, &dummy, &dummy_code, &dummy_code, &dummy_int, &dummy_vec)) |