diff options
author | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-24 17:22:03 +0000 |
---|---|---|
committer | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-24 17:22:03 +0000 |
commit | 05363b4a3846511fdb39dc9984c5b4d0978a846c (patch) | |
tree | 11719cfe1b3a540322d8325c9fa72dd69a7f6f7c /gcc/loop-doloop.c | |
parent | 087b03caccd74346e58bea10d9d8b07a4ccb3e90 (diff) | |
download | gcc-05363b4a3846511fdb39dc9984c5b4d0978a846c.tar.gz |
patch to canonize wide-ints smaller than one HWI
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@202871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-doloop.c')
-rw-r--r-- | gcc/loop-doloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c index daeb26cb66f..0cd5c98dc99 100644 --- a/gcc/loop-doloop.c +++ b/gcc/loop-doloop.c @@ -674,7 +674,7 @@ doloop_optimize (struct loop *loop) || !wi::fits_shwi_p (iter)) iterations_max = const0_rtx; else - iterations_max = GEN_INT (iter.to_shwi ()); + iterations_max = immed_wide_int_const (iter, mode); level = get_loop_level (loop) + 1; /* Generate looping insn. If the pattern FAILs then give up trying |