diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-09 23:04:06 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-09 23:04:06 +0000 |
commit | 0d7349754ea74c3a7eac8d0b457f86e703bdb031 (patch) | |
tree | e5a7ffd19651ec8e341a482d405d293a6e720838 /gcc/tree-ssa-address.c | |
parent | c8e41bd91cde9c8c33f6d49f4e1d2e1be70d7d8b (diff) | |
download | gcc-0d7349754ea74c3a7eac8d0b457f86e703bdb031.tar.gz |
* tree-scalar-evolution.c (scev_const_prop): Add arguments to
force_gimple_operand_bsi.
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr,
rewrite_use_compare): Ditto.
* tree-ssa-address.c (gimplify_mem_ref_parts, create_mem_ref):
Ditto.
* tree-ssa-ifcombine.c (ifcombine_ifandif): Ditto.
* tree-ssa-loop-prefetch.c (issue_prefetch_ref): Ditto.
* lambda-code.c (replace_uses_equiv_to_x_with_y): Ditto.
* tree-profile.c (prepare_instrumented_value,
tree_gen_interval_profiler, tree_gen_pow2_profiler,
tree_gen_one_value_profiler, tree_gen_ic_profiler,
tree_gen_ic_func_profiler, tree_gen_average_profiler,
tree_gen_ior_profiler): Ditto.
* tree-ssa-reassoc.c (negate_value): Ditto.
* matrix-reorg.c (transform_access_sites, transform_allocation_sites):
Use force_gimple_operand_bsi.
* tree-vect-transform.c (vect_update_ivs_after_vectorizer): Ditto.
* tree-if-conv.c (add_to_dst_predicate_list,
find_phi_replacement_condition): Ditto.
* gimplify.c (force_gimple_operand_bsi): Add before and m arguments.
Call mark_symbols_for_renaming for new statements.
* tree-flow.h (force_gimple_operand_bsi): Declaration changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126500 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-address.c')
-rw-r--r-- | gcc/tree-ssa-address.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/tree-ssa-address.c b/gcc/tree-ssa-address.c index cbd9355c227..7904b1af333 100644 --- a/gcc/tree-ssa-address.c +++ b/gcc/tree-ssa-address.c @@ -556,10 +556,12 @@ gimplify_mem_ref_parts (block_stmt_iterator *bsi, struct mem_address *parts) { if (parts->base) parts->base = force_gimple_operand_bsi (bsi, parts->base, - true, NULL_TREE); + true, NULL_TREE, + true, BSI_SAME_STMT); if (parts->index) parts->index = force_gimple_operand_bsi (bsi, parts->index, - true, NULL_TREE); + true, NULL_TREE, + true, BSI_SAME_STMT); } /* Creates and returns a TARGET_MEM_REF for address ADDR. If necessary @@ -588,7 +590,7 @@ create_mem_ref (block_stmt_iterator *bsi, tree type, aff_tree *addr) parts.index = force_gimple_operand_bsi (bsi, fold_build2 (MULT_EXPR, sizetype, parts.index, parts.step), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); parts.step = NULL_TREE; mem_ref = create_mem_ref_raw (type, &parts); @@ -614,7 +616,7 @@ create_mem_ref (block_stmt_iterator *bsi, tree type, aff_tree *addr) fold_build2 (PLUS_EXPR, atype, fold_convert (atype, parts.base), tmp), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); } else { @@ -641,7 +643,7 @@ create_mem_ref (block_stmt_iterator *bsi, tree type, aff_tree *addr) fold_build2 (PLUS_EXPR, atype, parts.base, fold_convert (atype, parts.index)), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); } else parts.base = parts.index; @@ -662,7 +664,7 @@ create_mem_ref (block_stmt_iterator *bsi, tree type, aff_tree *addr) fold_build2 (POINTER_PLUS_EXPR, atype, parts.base, fold_convert (sizetype, parts.offset)), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); } else parts.base = parts.offset; |