]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 219af6f479e68e09a0d5fca40890bb089205b31d..dc690ddce949c86061a4b186b8309d8693598121 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 def4c55afa2713f3c3e7034589e80e28c2ebffbd..280abddb24da6635fc8d8eda4c8a1bd1df047f09 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)
       {