patches/gcc/4.3.0/525-gcc43-pr35982.patch
changeset 746 b150d6f590fc
parent 745 e445c00d134d
child 747 d3e603e7c17c
     1.1 --- a/patches/gcc/4.3.0/525-gcc43-pr35982.patch	Mon Jul 28 20:17:48 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,23 +0,0 @@
     1.4 -Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/gentoo/65_all_gcc43-pr35982.patch
     1.5 -http://gcc.gnu.org/PR35982
     1.6 -
     1.7 -2008-04-23  Ira Rosen  <irar@il.ibm.com>
     1.8 -
     1.9 -	PR tree-optimization/35982
    1.10 -	* tree-vect-analyze.c (vect_check_interleaving): Check that the
    1.11 -	interleaved data-refs are of the same type.
    1.12 -
    1.13 -diff -durN gcc-4.3.0.orig/gcc/tree-vect-analyze.c gcc-4.3.0/gcc/tree-vect-analyze.c
    1.14 ---- gcc-4.3.0.orig/gcc/tree-vect-analyze.c	2007-12-06 17:18:55.000000000 +0100
    1.15 -+++ gcc-4.3.0/gcc/tree-vect-analyze.c	2008-06-10 14:45:17.000000000 +0200
    1.16 -@@ -1081,7 +1081,9 @@
    1.17 -   type_size_b = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (TREE_TYPE (DR_REF (drb))));
    1.18 - 
    1.19 -   if (type_size_a != type_size_b
    1.20 --      || tree_int_cst_compare (DR_STEP (dra), DR_STEP (drb)))
    1.21 -+      || tree_int_cst_compare (DR_STEP (dra), DR_STEP (drb))
    1.22 -+      || !types_compatible_p (TREE_TYPE (DR_REF (dra)), 
    1.23 -+                              TREE_TYPE (DR_REF (drb))))
    1.24 -     return;
    1.25 - 
    1.26 -   init_a = TREE_INT_CST_LOW (DR_INIT (dra));