re PR tree-optimization/69728 (internal compiler error: in outer_projection_mupa...
authorRichard Biener <rguenther@suse.de>
Tue, 19 Sep 2017 08:25:17 +0000 (08:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Sep 2017 08:25:17 +0000 (08:25 +0000)
commit197d2f5b2c2bece593f29ffe1e98c23f62ffbbbb
tree46573d7befe8b4b83a43af3b5ac0742ae0bfee13
parent6da7ce80f3845e511bf0c3c5a8c11af5f3def516
re PR tree-optimization/69728 (internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1175)

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.

* gfortran.dg/graphite/pr69728.f90: New testcase.
* gcc.dg/graphite/pr69728.c: Likewise.

From-SVN: r252968
gcc/ChangeLog
gcc/graphite-sese-to-poly.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr69728.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/graphite/pr69728.f90 [new file with mode: 0644]