2018-03-27 Richard Biener <rguenther@suse.de>
commit1cf4fc0256a0355ec709585f2a73a6df651d8425
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Mar 2018 12:13:55 +0000 (27 12:13 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Mar 2018 12:13:55 +0000 (27 12:13 +0000)
tree11c737ef9d022bba60acee27f37029910ad4e66a
parentb1e2d6636e661965c3847ebc846976a0fd0d442c
2018-03-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/85082
* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_for_pieces):
Valueize the VUSE.

* gfortran.dg/pr85082.f90: New testcase.

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