diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-01 17:25:20 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-01 17:25:20 +0000 |
commit | abd715f1005357afc8133430fa216ab7cc2ed3e4 (patch) | |
tree | 3166a86314c7ee4704f41e84b0574fd63c90c4f7 /gcc/sese.c | |
parent | 8c6b37744a69cb361ae71208dfb6276abcfe11e0 (diff) | |
download | gcc-abd715f1005357afc8133430fa216ab7cc2ed3e4.tar.gz |
LHS cannot be an ADDR_EXPR.
2010-11-26 Sebastian Pop <sebastian.pop@amd.com>
* sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167349 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sese.c')
-rw-r--r-- | gcc/sese.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/sese.c b/gcc/sese.c index f5e41f5b3be..65f85566605 100644 --- a/gcc/sese.c +++ b/gcc/sese.c @@ -550,11 +550,8 @@ rename_uses (gimple copy, htab_t rename_map, gimple_stmt_iterator *gsi_tgt, if (TREE_CODE (new_expr) == INTEGER_CST) { - tree lhs = gimple_assign_lhs (copy); tree rhs = gimple_assign_rhs1 (copy); - if (TREE_CODE (lhs) == ADDR_EXPR) - recompute_tree_invariant_for_addr_expr (lhs); if (TREE_CODE (rhs) == ADDR_EXPR) recompute_tree_invariant_for_addr_expr (rhs); } |