summaryrefslogtreecommitdiff
path: root/gcc/loop-doloop.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-13 17:28:02 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-13 17:28:02 +0000
commitf79c3176af17cc87bb10cf3a133cfd66a4bf568a (patch)
tree8614815f7342855154f218d9f124ec5486aaa61e /gcc/loop-doloop.c
parentfcdf306341e82e86688a06953dbf19be25499c51 (diff)
downloadgcc-f79c3176af17cc87bb10cf3a133cfd66a4bf568a.tar.gz
* loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather
than a HOST_WIDEST_INT to gen_doloop_begin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104234 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-doloop.c')
-rw-r--r--gcc/loop-doloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c
index def4c55afa2..280abddb24d 100644
--- a/gcc/loop-doloop.c
+++ b/gcc/loop-doloop.c
@@ -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)
{