[oe-commits] Khem Raj : gcc-4.5: Fix gcc-scalar-widening-pr45847.patch

git version control git at git.openembedded.org
Tue Oct 5 23:18:57 UTC 2010


Module: openembedded.git
Branch: master
Commit: 4e3f2321dbcf8afd761cae198a5b1918a60d1a73
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4e3f2321dbcf8afd761cae198a5b1918a60d1a73

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Oct  5 16:16:16 2010 -0700

gcc-4.5: Fix gcc-scalar-widening-pr45847.patch

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 .../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 74fb20c..225534b 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))





More information about the Openembedded-commits mailing list