re PR middle-end/26996 (interpret_rhs_modify_expr calls fold_convert (vector_type, -1))

PR tree-optimization/26996
	* tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze
	VECTOR_TYPE variables.

From-SVN: r112700
This commit is contained in:
Sebastian Pop 2006-04-05 14:33:06 +02:00 committed by Sebastian Pop
parent 917173f4d2
commit 42d375edf1
2 changed files with 7 additions and 1 deletions

View 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

View 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)