loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather than a HOST_WIDEST_I...
authorIan Lance Taylor <ian@airs.com>
Tue, 13 Sep 2005 17:28:02 +0000 (17:28 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 13 Sep 2005 17:28:02 +0000 (17:28 +0000)
* 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

gcc/ChangeLog
gcc/loop-doloop.c

index 219af6f..dc690dd 100644 (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.
index def4c55..280abdd 100644 (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)
       {