re PR tree-optimization/83255 ([graphite] Wrong code w/ -O1 -floop-nest-optimize)
authorRichard Biener <rguenther@suse.de>
Mon, 4 Dec 2017 14:04:36 +0000 (14:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Dec 2017 14:04:36 +0000 (14:04 +0000)
commit86502ecfe41ae0ba0b3698be199797496e77c8c1
treeb8153da555cc69903974fcaf8206c072d46b03ba
parentca4564f9a45ad806087e6cc5df3c6882a1879cdf
re PR tree-optimization/83255 ([graphite] Wrong code w/ -O1 -floop-nest-optimize)

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

PR tree-optimization/83255
* graphite-isl-ast-to-gimple.c (translate_isl_ast_node_for):
Re-add zero-iteration check.

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

From-SVN: r255382
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr83255.c [new file with mode: 0644]