diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-22 19:40:27 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-22 19:40:27 +0000 |
commit | 3c6185f10bc7c62bb4ae6aa879b37a30e8a4cb58 (patch) | |
tree | c59784926926ac0f42231782ef6431d50f532095 /gcc/tree-ssa-loop-ivcanon.c | |
parent | 8915d409e1bd62728607e2c7302075b482356de1 (diff) | |
download | gcc-3c6185f10bc7c62bb4ae6aa879b37a30e8a4cb58.tar.gz |
2005-12-22 Richard Guenther <rguenther@suse.de>
* tree.c (tree_fold_gcd): Use build_int_cst where appropriate.
* tree-ssa-loop-ivcanon.c (create_canonical_iv): Likewise.
* varasm.c (array_size_for_constructor): Likewise.
* fold-const.c (size_diffop, invert_truthvalue,
optimize_bit_field_compare, make_range, build_range_check,
fold_cond_expr_with_comparison, fold_truthop,
fold_single_bit_test_into_sign_test, fold_binary): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivcanon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c index 9b818b215f2..bd48fef38c0 100644 --- a/gcc/tree-ssa-loop-ivcanon.c +++ b/gcc/tree-ssa-loop-ivcanon.c @@ -100,7 +100,7 @@ create_canonical_iv (struct loop *loop, edge exit, tree niter) build_int_cst (type, 1)); incr_at = bsi_last (in->src); create_iv (niter, - fold_convert (type, integer_minus_one_node), + build_int_cst (type, -1), NULL_TREE, loop, &incr_at, false, NULL, &var); |