diff options
Diffstat (limited to 'recipes/gcc')
-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)) |