OSDN Git Service

PR tree-optimization/26996
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Apr 2006 12:33:06 +0000 (12:33 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Apr 2006 12:33:06 +0000 (12:33 +0000)
* tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze
VECTOR_TYPE variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112700 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-scalar-evolution.c

index 5c3f251..a7bea51 100644 (file)
@@ -1,3 +1,9 @@
+2006-04-05  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       PR tree-optimization/26996
+       * tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze
+       VECTOR_TYPE variables.
+
 2006-04-05  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/26763
index 3b1ea02..6fcfaa4 100644 (file)
@@ -1727,7 +1727,7 @@ analyze_scalar_evolution_1 (struct loop *loop, tree var, tree res)
   basic_block bb;
   struct loop *def_loop;
 
-  if (loop == NULL)
+  if (loop == NULL || TREE_CODE (type) == VECTOR_TYPE)
     return chrec_dont_know;
 
   if (TREE_CODE (var) != SSA_NAME)