2018-01-22 Richard Biener <rguenther@suse.de>
commitc56f248db68c5cf32895b791280aa6258595a8a2
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jan 2018 13:10:57 +0000 (22 13:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jan 2018 13:10:57 +0000 (22 13:10 +0000)
tree354993efe4c080b33c3875b02d46fb0d0744a52f
parent94b3d6a1bb33021954a317c9f85f7c38cbd9f9a7
2018-01-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83963
* graphite-scop-detection.c (scop_detection::get_sese): Delay
including the loop exit block.
(scop_detection::merge_sese): Likewise.
(scop_detection::add_scop): Do it here instead.

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

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