aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
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 /gcc/unroll.c
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
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c3
1 files changed, 2 insertions, 1 deletions
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;