2017-02-01 Richard Biener <rguenther@suse.de>
commit92b1e9639eb6fa97bd8d2effae3e1e60a39f65e5
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Feb 2017 08:02:50 +0000 (1 08:02 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Feb 2017 08:02:50 +0000 (1 08:02 +0000)
treee5cc46cf37a94684492138f56035edd905c55361
parent816d679bca146c08889f2cc5e6285c3927439500
2017-02-01  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71824
* graphite-scop-detection.c (scop_detection::build_scop_breadth):
Verify the loops are valid in the merged SESE region.
(scop_detection::can_represent_loop_1): Check analyzing the
evolution of the number of iterations in the region succeeds.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245081 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr71824.c [new file with mode: 0644]