re PR tree-optimization/83572 ([graphite] ICE in verify_dominators, at dominance...
authorRichard Biener <rguenther@suse.de>
Tue, 9 Jan 2018 08:55:26 +0000 (08:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 9 Jan 2018 08:55:26 +0000 (08:55 +0000)
commitb25f84d0ff01aa4014428402029c46cda4c4a2a0
treebdd81daf338c54767124a569dcd2789565d712a5
parentb1a0199b64e680d0eb206eaeff4893bb441d9feb
re PR tree-optimization/83572 ([graphite] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 15, not 13))

2018-01-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83572
* graphite.c: Include cfganal.h.
(graphite_transform_loops): Connect infinite loops to exit
and remove fake edges at the end.

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

From-SVN: r256372
gcc/ChangeLog
gcc/graphite.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr83572.c [new file with mode: 0644]