diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-07 10:22:44 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-07 10:22:44 +0000 |
commit | 779b4c4151fa540c2d6a7e4cb0d9e735f887fbc3 (patch) | |
tree | efd2d72434d72037608c092c5558556582089fc1 /gcc/tree-sra.c | |
parent | 231bd014bbdc801d1b137f8989b0d0c2541fd0f7 (diff) | |
download | ppe42-gcc-779b4c4151fa540c2d6a7e4cb0d9e735f887fbc3.tar.gz ppe42-gcc-779b4c4151fa540c2d6a7e4cb0d9e735f887fbc3.zip |
* builtins.c (fold_builtin_strchr): Use build_int_cst, not
fold_convert.
(fold_builtin_strpbrk): Likewise.
* expr.c (array_ref_low_bound): Likewise.
* tree-scalar-evolution.c (chrec_is_positive, add_to_evolution_1,
interpret_rhs_modify_expr, number_of_iterations_in_loop): Likewise.
* tree-sra.c (generate_element_zero): Likewise.
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
* tree-ssa-loop-ivopts.c (determine_biv_step, idx_find_step,
add_old_iv_candidates, add_iv_candidates): Likewise.
* tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87141 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index c96ecfd7ce8..3e3da790203 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -1537,7 +1537,7 @@ generate_element_zero (struct sra_elt *elt, tree *list_p) tree t; if (elt->is_scalar) - t = fold_convert (elt->type, integer_zero_node); + t = build_int_cst (elt->type, 0); else /* We generated a replacement for a non-scalar? */ abort (); |