aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorSebastian Pop <pop@cri.ensmp.fr>2006-04-04 19:08:16 +0200
committerSebastian Pop <spop@gcc.gnu.org>2006-04-04 17:08:16 +0000
commitdc61cc6bd6088d90ce8515fb6b2df276f9d35cf2 (patch)
treeecd42354237b0f4068bb211686fb5a540d25d567 /gcc/tree-data-ref.c
parent2225b57c2884d2e674ccd5ad972a10a7c1316ec9 (diff)
downloadgcc-dc61cc6bd6088d90ce8515fb6b2df276f9d35cf2.zip
gcc-dc61cc6bd6088d90ce8515fb6b2df276f9d35cf2.tar.gz
gcc-dc61cc6bd6088d90ce8515fb6b2df276f9d35cf2.tar.bz2
tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, [...]): Use build_int_cst instead of build_int_cst_type.
* tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, set_nb_iterations_in_loop): Use build_int_cst instead of build_int_cst_type. * tree-data-ref.c (can_use_analyze_subscript_affine_affine): Use build_int_cst instead of convert. From-SVN: r112673
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 30b491b..596b484 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -3057,7 +3057,7 @@ can_use_analyze_subscript_affine_affine (tree *chrec_a, tree *chrec_b)
diff, CHREC_RIGHT (*chrec_a));
right_b = chrec_convert (type, CHREC_RIGHT (*chrec_b), NULL_TREE);
*chrec_b = build_polynomial_chrec (CHREC_VARIABLE (*chrec_b),
- convert (type, integer_zero_node),
+ build_int_cst (type, 0),
right_b);
return true;
}