re PR tree-optimization/82321 (ICE in check_loop_closed_ssa_use, at tree-ssa-loop...
authorRichard Biener <rguenther@suse.de>
Tue, 26 Sep 2017 11:05:42 +0000 (11:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 26 Sep 2017 11:05:42 +0000 (11:05 +0000)
commit621e53705ae51337f78713a868ff3dd41f950422
treea961530067a06df9d1f7d288effaa6de55d0123e
parent17ec4b792b8a5c8b454928efe409f62c4e356ffe
re PR tree-optimization/82321 (ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:707)

2017-09-26  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82321
* graphite.c (canonicalize_loop_closed_ssa): Properly check
for the def being inside the loop.

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

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