loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather than a HOST_WIDEST_INT to gen_doloop_begin.

* loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather
	than a HOST_WIDEST_INT to gen_doloop_begin.

From-SVN: r104234
This commit is contained in:
Ian Lance Taylor 2005-09-13 17:28:02 +00:00 committed by Ian Lance Taylor
parent 5681f1ab03
commit 1984d2e8cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-09-13 Ian Lance Taylor <ian@airs.com>
* loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather
than a HOST_WIDEST_INT to gen_doloop_begin.
2005-09-13 Diego Novillo <dnovillo@redhat.com>
* tree-dfa.c (dump_variable): Guard against NULL annotations.

View File

@ -396,7 +396,7 @@ doloop_modify (struct loop *loop, struct niter_desc *desc,
unsigned level = get_loop_level (loop) + 1;
init = gen_doloop_begin (counter_reg,
desc->const_iter ? desc->niter_expr : const0_rtx,
desc->niter_max,
GEN_INT (desc->niter_max),
GEN_INT (level));
if (init)
{