aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2012-12-14 12:57:27 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-12-14 12:57:27 +0000
commit105e8c0682d220f6abc7320ff1ae05e20136080a (patch)
tree1c18ce1a21b86a0c0df9bba3c2f10bf533617381 /gcc/tree-chrec.h
parent6d9d886cd61e3cf11bcc72546938b32dc03d8a76 (diff)
downloadgcc-105e8c0682d220f6abc7320ff1ae05e20136080a.zip
gcc-105e8c0682d220f6abc7320ff1ae05e20136080a.tar.gz
gcc-105e8c0682d220f6abc7320ff1ae05e20136080a.tar.bz2
re PR tree-optimization/55687 (ICE in hide_evolution_in_other_loops_than_loop, at tree-chrec.c:716)
2012-12-14 Richard Biener <rguenther@suse.de> 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
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r--gcc/tree-chrec.h2
1 files changed, 1 insertions, 1 deletions
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;
}