diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-07 15:44:59 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-07 15:44:59 +0000 |
commit | 05db596e5b032f3e44da6b2d4ef631ed1ebc903b (patch) | |
tree | 4c625bc9e9d89752ba6cd25b32250d60cc28c748 /gcc/tree-chrec.c | |
parent | cfd7afc56e260bfe9feb1fed2c93e3a2797892d8 (diff) | |
download | gcc-05db596e5b032f3e44da6b2d4ef631ed1ebc903b.tar.gz |
* tree-ssa-loop-niter.c (inverse, number_of_iterations_ne,
assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
number_of_iterations_le, number_of_iterations_cond, find_loop_niter,
estimate_numbers_of_iterations_loop): Use build_int_cst instead of
build_int_cst_type.
* tree-chrec.c (chrec_fold_multiply_poly_poly,
chrec_fold_multiply): Same.
* tree-ssa-loop-ivopts.c (strip_offset_1, force_expr_to_var_cost,
force_expr_to_var_cost): Same.
* tree-mudflap.c (mf_xform_derefs_1): Same.
* tree-ssa-loop-prefetch.c (idx_analyze_ref): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112755 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-chrec.c')
-rw-r--r-- | gcc/tree-chrec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c index cec8b7e0c80..c0819b096c1 100644 --- a/gcc/tree-chrec.c +++ b/gcc/tree-chrec.c @@ -218,7 +218,7 @@ chrec_fold_multiply_poly_poly (tree type, t2 = chrec_fold_multiply (type, CHREC_RIGHT (poly0), CHREC_RIGHT (poly1)); t2 = chrec_fold_multiply (type, SCALAR_FLOAT_TYPE_P (type) ? build_real (type, dconst2) - : build_int_cst_type (type, 2), t2); + : build_int_cst (type, 2), t2); var = CHREC_VARIABLE (poly0); return build_polynomial_chrec (var, t0, @@ -374,7 +374,7 @@ chrec_fold_multiply (tree type, if (integer_onep (op1)) return op0; if (integer_zerop (op1)) - return build_int_cst_type (type, 0); + return build_int_cst (type, 0); return build_polynomial_chrec (CHREC_VARIABLE (op0), @@ -387,7 +387,7 @@ chrec_fold_multiply (tree type, return op1; if (integer_zerop (op0)) - return build_int_cst_type (type, 0); + return build_int_cst (type, 0); switch (TREE_CODE (op1)) { @@ -401,7 +401,7 @@ chrec_fold_multiply (tree type, if (integer_onep (op1)) return op0; if (integer_zerop (op1)) - return build_int_cst_type (type, 0); + return build_int_cst (type, 0); return fold_build2 (MULT_EXPR, type, op0, op1); } } |