This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r160825 - in /branches/mem-ref2/gcc: ChangeLog....
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 16 Jun 2010 09:43:40 -0000
- Subject: r160825 - in /branches/mem-ref2/gcc: ChangeLog....
Author: rguenth
Date: Wed Jun 16 09:43:39 2010
New Revision: 160825
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160825
Log:
2010-06-16 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.h (struct vn_reference_op_struct): Add
a field to store the constant offset this op applies.
* tree-ssa-sscvn.c (vn_reference_compute_hash): Hash
fields that only adjust the offset by a constant by
aggregating them and hashing the offset. Do not hash
*& combinations.
(vn_reference_eq): Adjust comparison accordingly. Make sure
accesses are of the same size first.
(copy_reference_ops_from_ref): Compute and remember constant
offsets.
(copy_reference_ops_from_call): Likewise.
* tree-ssa-pre.c (insert_into_preds_of_block): Properly
initialize avail.
Modified:
branches/mem-ref2/gcc/ChangeLog.mem-ref2
branches/mem-ref2/gcc/tree-ssa-pre.c
branches/mem-ref2/gcc/tree-ssa-sccvn.c
branches/mem-ref2/gcc/tree-ssa-sccvn.h