re PR tree-optimization/83238 ([graphite] ICE in graphite_can_represent_scev, at...
authorRichard Biener <rguenther@suse.de>
Mon, 4 Dec 2017 08:26:18 +0000 (08:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Dec 2017 08:26:18 +0000 (08:26 +0000)
commit5d66d3f151eab82a39fc89b6f0b973b529f6b3cb
treecedb6d1ccfdc6069517ce5037708ed64e7b2c6fc
parentb6ecbf313bff50f4f6d3ea645cddc0a9976eb623
re PR tree-optimization/83238 ([graphite] ICE in graphite_can_represent_scev, at graphite-scop-detection.c:971)

2017-12-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83238
* graphite-scop-detection.c (scop_detection::merge_sese): Make
code match comment, rejecting invalid SESE regions.

* gcc.dg/graphite/pr83238.c: New testcase.

From-SVN: r255375
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr83238.c [new file with mode: 0644]