2018-06-05 Richard Biener <rguenther@suse.de>
commit522d2ab6092a7df203cbef07e442060834e01617
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2018 10:01:49 +0000 (5 10:01 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2018 10:01:49 +0000 (5 10:01 +0000)
tree3970176d485d03966c756dc113eed9ff859b404c
parent1a259ac3e39bf87e6e6a5eface8b0ebc6b2a0dfe
2018-06-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86047
* tree-ssa-loop.c (for_each_index): Glob handling of all
decls and constants and really handle all of them.

* gcc.dg/pr86047.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261192 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86047.c [new file with mode: 0644]
gcc/tree-ssa-loop.c