patches/gcc/4.3.0/270-pr35982.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Oct 15 21:29:56 2008 +0000 (2008-10-15)
changeset 940 f0f9ba3f98f2
parent 746 b150d6f590fc
permissions -rw-r--r--
Cheesy kconfig stuff:
- silent/quiet/verbose build:
- ct-ng by default only prints quit messages, such as "CC xxx",
- if using V=0, nothing is printed,
- if using V=1, the full command lines are printed,
- other values are indeterminate,
- should help in debugging the kconfig stuff;
- complete kconfig/{,m}conf generation:
- fully dynamic dependencies on source files,
- compilation of .c into .o, then linking (instead of direct linking),
- VPATH usage when not --local;
Typo + a coment moved.

/trunk/kconfig/kconfig.mk | 140 87 53 0 +++++++++++++++++++++++++++++++++--------------------
/trunk/tools/tools.mk | 12 6 6 0 ++--
/trunk/steps.mk | 6 3 3 0 +-
/trunk/samples/samples.mk | 30 15 15 0 +++++-----
/trunk/ct-ng.in | 40 28 12 0 +++++++++++----
5 files changed, 139 insertions(+), 89 deletions(-)
yann@552
     1
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/gentoo/65_all_gcc43-pr35982.patch
yann@552
     2
http://gcc.gnu.org/PR35982
yann@552
     3
yann@552
     4
2008-04-23  Ira Rosen  <irar@il.ibm.com>
yann@552
     5
yann@552
     6
	PR tree-optimization/35982
yann@552
     7
	* tree-vect-analyze.c (vect_check_interleaving): Check that the
yann@552
     8
	interleaved data-refs are of the same type.
yann@552
     9
yann@552
    10
diff -durN gcc-4.3.0.orig/gcc/tree-vect-analyze.c gcc-4.3.0/gcc/tree-vect-analyze.c
yann@552
    11
--- gcc-4.3.0.orig/gcc/tree-vect-analyze.c	2007-12-06 17:18:55.000000000 +0100
yann@552
    12
+++ gcc-4.3.0/gcc/tree-vect-analyze.c	2008-06-10 14:45:17.000000000 +0200
yann@552
    13
@@ -1081,7 +1081,9 @@
yann@552
    14
   type_size_b = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (TREE_TYPE (DR_REF (drb))));
yann@552
    15
 
yann@552
    16
   if (type_size_a != type_size_b
yann@552
    17
-      || tree_int_cst_compare (DR_STEP (dra), DR_STEP (drb)))
yann@552
    18
+      || tree_int_cst_compare (DR_STEP (dra), DR_STEP (drb))
yann@552
    19
+      || !types_compatible_p (TREE_TYPE (DR_REF (dra)), 
yann@552
    20
+                              TREE_TYPE (DR_REF (drb))))
yann@552
    21
     return;
yann@552
    22
 
yann@552
    23
   init_a = TREE_INT_CST_LOW (DR_INIT (dra));