2016-04-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/70614
* tree-scalar-evolution.c (analyze_evolution_in_loop): Terminate
loop if the evolution dropped to chrec_dont_know.
(interpret_condition_phi): Likewise.
From-SVN: r234972
+2016-04-14 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/70614
+ * tree-scalar-evolution.c (analyze_evolution_in_loop): Terminate
+ loop if the evolution dropped to chrec_dont_know.
+ (interpret_condition_phi): Likewise.
+
2016-04-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/70623
/* When there are multiple back edges of the loop (which in fact never
happens currently, but nevertheless), merge their evolutions. */
evolution_function = chrec_merge (evolution_function, ev_fn);
+
+ if (evolution_function == chrec_dont_know)
+ break;
}
if (dump_file && (dump_flags & TDF_SCEV))
(loop, PHI_ARG_DEF (condition_phi, i));
res = chrec_merge (res, branch_chrec);
+ if (res == chrec_dont_know)
+ break;
}
return res;