aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@redhat.com>2002-08-21 04:33:48 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2002-08-21 04:33:48 +0000
commit3823f0b2bd2679be90cd6bf9be5ac4bbf3452580 (patch)
tree77d65338bb210ee2bf2ab8543c0e3022187fb147
parent5eb99654a2c06c5547396318e121deb995076802 (diff)
downloadgcc-3823f0b2bd2679be90cd6bf9be5ac4bbf3452580.zip
gcc-3823f0b2bd2679be90cd6bf9be5ac4bbf3452580.tar.gz
gcc-3823f0b2bd2679be90cd6bf9be5ac4bbf3452580.tar.bz2
unroll.c (biv_total_increment): Don't try to compute the total increment for FP BIVs.
* unroll.c (biv_total_increment): Don't try to compute the total increment for FP BIVs. From-SVN: r56479
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unroll.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7094935..71ebe26 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-20 Geoffrey Keating <geoffk@redhat.com>
+
+ * unroll.c (biv_total_increment): Don't try to compute the total
+ increment for FP BIVs.
+
2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 445ec5f..4096905 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -2419,7 +2419,8 @@ biv_total_increment (bl)
for (v = bl->biv; v; v = v->next_iv)
{
if (v->always_computable && v->mult_val == const1_rtx
- && ! v->maybe_multiple)
+ && ! v->maybe_multiple
+ && SCALAR_INT_MODE_P (v->mode))
result = fold_rtx_mult_add (result, const1_rtx, v->add_val, v->mode);
else
return 0;