aboutsummaryrefslogtreecommitdiff
path: root/gcc/sese.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-10-02 07:32:52 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-10-02 07:32:52 +0000
commit0389d86c4e252df643f9c3539e5a114add56ec7f (patch)
tree83af0087c3c1be8a0a44f85b0ac7b545e5279af2 /gcc/sese.h
parent623c6df543b5cb025815e6a79ded86f889f4a4b1 (diff)
downloadgcc-0389d86c4e252df643f9c3539e5a114add56ec7f.zip
gcc-0389d86c4e252df643f9c3539e5a114add56ec7f.tar.gz
gcc-0389d86c4e252df643f9c3539e5a114add56ec7f.tar.bz2
re PR tree-optimization/82355 (ICE in outermost_loop_in_sese, at sese.c:301)
2017-10-02 Richard Biener <rguenther@suse.de> PR tree-optimization/82355 * graphite-isl-ast-to-gimple.c (build_iv_mapping): Also build a mapping for the enclosing loop but avoid generating one for the loop tree root. (copy_bb_and_scalar_dependences): Remove premature codegen error on PHIs in blocks duplicated into multiple places. * graphite-scop-detection.c (scop_detection::stmt_has_simple_data_refs_p): For a loop not in the region use it as loop and nest to analyze the DR in. (try_generate_gimple_bb): Likewise. * graphite-sese-to-poly.c (extract_affine_chrec): Adjust. (add_loop_constraints): For blocks in a loop not in the region create a dimension with a single iteration. * sese.h (gbb_loop_at_index): Remove assert. * gcc.dg/graphite/fuse-1.c: Adjust. * gcc.dg/graphite/fuse-2.c: Likewise. * gcc.dg/graphite/pr82355.c: New testcase. From-SVN: r253336
Diffstat (limited to 'gcc/sese.h')
-rw-r--r--gcc/sese.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/sese.h b/gcc/sese.h
index 3bdb34c..f1371ee 100644
--- a/gcc/sese.h
+++ b/gcc/sese.h
@@ -326,8 +326,6 @@ gbb_loop_at_index (gimple_poly_bb_p gbb, sese_l &region, int index)
while (--depth > index)
loop = loop_outer (loop);
- gcc_assert (loop_in_sese_p (loop, region));
-
return loop;
}