re PR tree-optimization/58483 (missing optimization opportunity for const std::vector...
authorRichard Biener <rguenther@suse.de>
Tue, 2 Jul 2019 07:35:23 +0000 (07:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 2 Jul 2019 07:35:23 +0000 (07:35 +0000)
commit14ec49a7537004633b7fff859178cbebd288ca1d
treefaab629040d4fb9ceae92d6baa27e2477c6c6542
parent6d64cee84be39d688a0221246f24bba8e84a54b0
re PR tree-optimization/58483 (missing optimization opportunity for const std::vector compared to std::array)

2019-07-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58483
* tree-ssa-scopedtables.c (avail_expr_hash): Use OEP_ADDRESS_OF
for MEM_REF base hashing.
(equal_mem_array_ref_p): Likewise for base comparison.

* gcc.dg/tree-ssa/ssa-dom-cse-8.c: New testcase.

From-SVN: r272922
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-8.c [new file with mode: 0644]
gcc/tree-ssa-scopedtables.c