re PR tree-optimization/84399 ([graphite] ICE in set_codegen_error, at graphite-isl...
authorRichard Biener <rguenther@suse.de>
Fri, 16 Feb 2018 08:16:17 +0000 (08:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Feb 2018 08:16:17 +0000 (08:16 +0000)
commit4cf55739fd30044f489c728aaacd7cae69adef59
tree4380c4aa5bbdb48c445fa6d19a49572086ffa275
parentbd74f4d876ffa7090603bb5d317d7b6e52df43c0
re PR tree-optimization/84399 ([graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206)

2018-02-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84399
* graphite-scop-detection.c (scop_detection::stmt_simple_for_scop_p):
For operands we can analyze at their definition make sure we can
analyze them at each use as well.

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

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