From: Khem Raj Date: Tue, 5 Oct 2010 23:16:16 +0000 (-0700) Subject: gcc-4.5: Fix gcc-scalar-widening-pr45847.patch X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e3f2321dbcf8afd761cae198a5b1918a60d1a73;p=openembedded.git gcc-4.5: Fix gcc-scalar-widening-pr45847.patch Signed-off-by: Khem Raj --- 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))