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 | |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ChangeLog.graphite | 4 | ||||
-rw-r--r-- | gcc/sese.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 |
4 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7540273c999..135c8aba469 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-11-29 Sebastian Pop <sebastian.pop@amd.com> + + * sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments. + 2010-12-01 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45297 diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 4461ade8893..81147355054 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,7 @@ +2010-11-26 Sebastian Pop <sebastian.pop@amd.com> + + * sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments. + 2010-11-22 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45297 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); } diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 08e7788dd20..3f37499202a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,4 @@ -2010-11-29 Sebastian Pop <sebastian.pop@amd.com> +2010-12-01 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45297 * gcc.dg/graphite/pr45297.c: New. |