tree-ssa-sccvn.h (vn_reference_op_struct): Add clique and base members.
authorRichard Biener <rguenther@suse.de>
Thu, 24 Sep 2015 07:35:55 +0000 (07:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 24 Sep 2015 07:35:55 +0000 (07:35 +0000)
commit1fefbb66c8282a4d9e74dc178a3578e4c302862f
tree57fd1e1a8691727365ec0a98226d7ba07c04e952
parent0a28fdcaf70aee998705bf5878f4c508d9641e31
tree-ssa-sccvn.h (vn_reference_op_struct): Add clique and base members.

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

* tree-ssa-sccvn.h (vn_reference_op_struct): Add clique and base
members.
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Record clique
and base for MEM_REF and TARGET_MEM_REF.  Handle BIT_FIELD_REF
offset.
(ao_ref_init_from_vn_reference): Record clique and base in the
built base.
* tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise

* g++.dg/tree-ssa/restrict3.C: New testcase.

From-SVN: r228074
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/restrict3.C [new file with mode: 0644]
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-sccvn.h