unroll.c (biv_total_increment): Don't try to compute the total increment for FP BIVs.
authorGeoffrey Keating <geoffk@redhat.com>
Wed, 21 Aug 2002 04:33:48 +0000 (04:33 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 21 Aug 2002 04:33:48 +0000 (04:33 +0000)
* unroll.c (biv_total_increment): Don't try to compute the total
increment for FP BIVs.

From-SVN: r56479

gcc/ChangeLog
gcc/unroll.c

index 7094935b5257eb1d5078f4753edabbedb8036d50..71ebe26f5a9ed702bf74fbc01517d006bc9582cc 100644 (file)
@@ -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.
index 445ec5fc1a7d6f43f24d3d2696b37e0139d5c8f1..4096905be626e9d7fcc8984f3f8b86d437055ff9 100644 (file)
@@ -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;