From 105e8c0682d220f6abc7320ff1ae05e20136080a Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 14 Dec 2012 12:57:27 +0000 Subject: re PR tree-optimization/55687 (ICE in hide_evolution_in_other_loops_than_loop, at tree-chrec.c:716) 2012-12-14 Richard Biener PR tree-optimization/55687 * tree-chrec.h (no_evolution_in_loop_p): Properly use tree_contains_chrecs. * gcc.dg/torture/pr55687.c: New testcase. From-SVN: r194498 --- gcc/tree-chrec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-chrec.h') diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h index 6d61d5f..db3f3bf 100644 --- a/gcc/tree-chrec.h +++ b/gcc/tree-chrec.h @@ -117,7 +117,7 @@ no_evolution_in_loop_p (tree chrec, unsigned loop_num, bool *res) STRIP_NOPS (chrec); scev = hide_evolution_in_other_loops_than_loop (chrec, loop_num); - *res = !tree_is_chrec (scev); + *res = !tree_contains_chrecs (scev, NULL); return true; } -- cgit v1.1