tree-ssa-sccvn.c (vn_reference_lookup_3): Valueize MEM_REF base.
authorRichard Biener <rguenther@suse.de>
Tue, 24 Sep 2019 10:10:49 +0000 (10:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 24 Sep 2019 10:10:49 +0000 (10:10 +0000)
commit3f9e08f57e1de90de5bc9d2a00815ea38064c733
tree90c3e98963cb030009d049f320a2e986b1bb0757
parent47d17f705826669e7a7c56f1bee54b4231870e41
tree-ssa-sccvn.c (vn_reference_lookup_3): Valueize MEM_REF base.

2019-09-24  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_reference_lookup_3): Valueize MEM_REF
base.

* gcc.dg/torture/20190924-1.c: New testcase.

From-SVN: r276092
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/20190924-1.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c