aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ccp.c
diff options
context:
space:
mode:
authorLe-Chun Wu <lcwu@google.com>2010-07-23 22:20:45 +0000
committerLe-Chun Wu <lcwu@gcc.gnu.org>2010-07-23 22:20:45 +0000
commit3d07b7cde4aef048de67122432e605abb242ae70 (patch)
tree2200f086b87ec4327e90dbe8235ec8840de254cb /gcc/tree-ssa-ccp.c
parentdf161b697cfa29a387deeea64c57e3d8512edbe3 (diff)
downloadgcc-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.c5
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
{