summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-08 13:10:00 +0000
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-08 13:10:00 +0000
commit66bfae74feda3a002e5d09bba1ee1b6329a29aa4 (patch)
treee7129619e91df122dbc2e69c920ea9d16abf8c42
parentd68806e81b3e6f743afce77c00ec06c77cc60fee (diff)
downloadgcc-66bfae74feda3a002e5d09bba1ee1b6329a29aa4.tar.gz
* loop-doloop.c (doloop_optimize): Extend count.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88750 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/loop-doloop.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8055ac68be1..341b9feb9ad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-08 Michael Matz <matz@suse.de>
+
+ * loop-doloop.c (doloop_optimize): Extend count.
+
2004-10-08 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (prefetch_media, prefetch_i4): New insns.
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c
index 1e56eb5cebe..965e2e3edd8 100644
--- a/gcc/loop-doloop.c
+++ b/gcc/loop-doloop.c
@@ -511,7 +511,7 @@ doloop_optimize (struct loop *loop)
if (word_mode_size > GET_MODE_BITSIZE (mode))
{
count = simplify_gen_unary (ZERO_EXTEND, word_mode,
- iterations, mode);
+ count, mode);
iterations = simplify_gen_unary (ZERO_EXTEND, word_mode,
iterations, mode);
iterations_max = simplify_gen_unary (ZERO_EXTEND, word_mode,