Commit 42d375ed by Sebastian Pop Committed by Sebastian Pop

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
parent 917173f4
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
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment