re PR tree-optimization/69728 (internal compiler error: in outer_projection_mupa...
authorRichard Biener <rguenther@suse.de>
Thu, 12 Oct 2017 14:09:21 +0000 (14:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Oct 2017 14:09:21 +0000 (14:09 +0000)
commitf0c216e1162d40748b3bc085146f386ca2109f46
treeab1faef55dd03278d6edc48d180770c687fdfb0b
parentb989ffb2937ba4b87423bf43ebe0666dd4b08cea
re PR tree-optimization/69728 (internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1175)

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

PR tree-optimization/69728
Revert
2017-09-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/69728
* graphite-sese-to-poly.c (schedule_error): New global.
(add_loop_schedule): Handle empty domain by failing the
schedule.
(build_original_schedule): Handle schedule_error.

* graphite-sese-to-poly.c (add_loop_schedule): Handle empty
domain by returning an unchanged schedule.

* gcc.dg/graphite/pr69728.c: Adjust to reflect we can handle
the loop now.  Remove unrelated undefined behavior.

From-SVN: r253677
gcc/ChangeLog
gcc/graphite-sese-to-poly.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr69728.c