diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-27 18:17:00 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-27 18:17:00 -0700 |
commit | e847cc68ebc1e2a961941e75ae613fec9f90463b (patch) | |
tree | 0c30f61b19cf213402a8b9492ba3424c41e1602b /gcc/tree-ssa-loop-im.c | |
parent | b91accd685798cd0cb4f775bfcdcc40c18efbdb6 (diff) | |
download | gcc-e847cc68ebc1e2a961941e75ae613fec9f90463b.zip gcc-e847cc68ebc1e2a961941e75ae613fec9f90463b.tar.gz gcc-e847cc68ebc1e2a961941e75ae613fec9f90463b.tar.bz2 |
gimplify.c (is_gimple_addr_expr_arg_or_indirect): Remove.
* gimplify.c (is_gimple_addr_expr_arg_or_indirect): Remove.
(gimplify_modify_expr, gimplify_addr_expr, gimplify_expr): Use
is_gimple_addressable.
* tree-gimple.c (is_gimple_addressable): Rename from
is_gimple_addr_expr_arg; accept INDIRECT_REF.
(is_gimple_lvalue): Don't test INDIRECT_REF directly.
* tree-gimple.h, tree-sra.c, tree-ssa-loop-im.c: Update for
rename to is_gimple_addressable.
From-SVN: r85243
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
-rw-r--r-- | gcc/tree-ssa-loop-im.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index e7afc24..d8c70a9 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -350,7 +350,7 @@ stmt_cost (tree stmt) /* Hoisting memory references out should almost surely be a win. */ if (!is_gimple_variable (lhs)) cost += 20; - if (is_gimple_addr_expr_arg (rhs) && !is_gimple_variable (rhs)) + if (is_gimple_addressable (rhs) && !is_gimple_variable (rhs)) cost += 20; switch (TREE_CODE (rhs)) |