diff options
author | Richard Biener <rguenther@suse.de> | 2012-12-14 12:57:27 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-12-14 12:57:27 +0000 |
commit | 105e8c0682d220f6abc7320ff1ae05e20136080a (patch) | |
tree | 1c18ce1a21b86a0c0df9bba3c2f10bf533617381 /gcc/tree-chrec.h | |
parent | 6d9d886cd61e3cf11bcc72546938b32dc03d8a76 (diff) | |
download | gcc-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.h | 2 |
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; } |