diff options
author | lcwu <lcwu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-23 22:20:45 +0000 |
---|---|---|
committer | lcwu <lcwu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-23 22:20:45 +0000 |
commit | 7739e598ab008202c1dfdfd899688973d1009517 (patch) | |
tree | 2200f086b87ec4327e90dbe8235ec8840de254cb /gcc/tree-ssa-ccp.c | |
parent | 9c6cdcae0dc9ab7ea592aeeec349a8a9e1f94e03 (diff) | |
download | gcc-7739e598ab008202c1dfdfd899688973d1009517.tar.gz |
Fix violations of self-assignment check in GCC source.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r-- | gcc/tree-ssa-ccp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 89ef5b3a7e4..27e09396860 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -730,9 +730,8 @@ ccp_lattice_meet (prop_value_t *val1, prop_value_t *val2) Ci M Cj = VARYING if (i != j) If these two values come from memory stores, make sure that - they come from the same memory reference. */ - val1->lattice_val = CONSTANT; - val1->value = val1->value; + they come from the same memory reference. + Nothing to do. VAL1 already contains the value we want. */ } else { |