diff options
author | Le-Chun Wu <lcwu@google.com> | 2010-07-23 22:20:45 +0000 |
---|---|---|
committer | Le-Chun Wu <lcwu@gcc.gnu.org> | 2010-07-23 22:20:45 +0000 |
commit | 3d07b7cde4aef048de67122432e605abb242ae70 (patch) | |
tree | 2200f086b87ec4327e90dbe8235ec8840de254cb /gcc/tree-ssa-ccp.c | |
parent | df161b697cfa29a387deeea64c57e3d8512edbe3 (diff) | |
download | gcc-3d07b7cde4aef048de67122432e605abb242ae70.zip gcc-3d07b7cde4aef048de67122432e605abb242ae70.tar.gz gcc-3d07b7cde4aef048de67122432e605abb242ae70.tar.bz2 |
Fix violations of self-assignment check in GCC source.
From-SVN: r162492
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 89ef5b3..27e0939 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 { |