tree-ssa-pre.c: Include alias.h.
authorRichard Biener <rguenther@suse.de>
Thu, 7 Jul 2016 07:43:35 +0000 (07:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 7 Jul 2016 07:43:35 +0000 (07:43 +0000)
commit3c5b29f56103d60f4f4dca7136ae4dcc7987a728
tree1418b84f009ff78ba988582b7613211c85a2c645
parent5ddaee94e247a189a8a17af7dce8d45e0c30adee
tree-ssa-pre.c: Include alias.h.

2016-07-07  Richard Biener  <rguenther@suse.de>

* tree-ssa-pre.c: Include alias.h.
(compute_avail): If we have multiple VN_REFERENCEs with the
same hashtable entry adjust that to make it a valid replacement
for all of them with respect to alignment and aliasing
when doing insertion.
* tree-ssa-sccvn.h (vn_reference_operands_for_lookup): Declare.
* tree-ssa-sccvn.c (vn_reference_operands_for_lookup): New function.

From-SVN: r238078
gcc/ChangeLog
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-sccvn.h