re PR tree-optimization/79977 ([graphite] ICE in outermost_loop_in_sese, at sese...
authorRichard Biener <rguenther@suse.de>
Thu, 9 Mar 2017 16:19:37 +0000 (16:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 9 Mar 2017 16:19:37 +0000 (16:19 +0000)
commitd721dc3c4bb4a29f6c2cee5be88710a1b107e2f2
tree0179a516678a98ec5091603a550032b3990ebb78
parente0472d7e8cefd8f4eed658424b8283fcd8ca4b15
re PR tree-optimization/79977 ([graphite] ICE in outermost_loop_in_sese, at sese.c:300 w/ -O2 -floop-nest-optimize)

2017-03-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79977
* graphite-scop-detection.c (scop_detection::merge_sese):
Handle the case of extra exits to blocks dominating the entry.

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

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