summaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-21 04:33:48 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-21 04:33:48 +0000
commit0da71ef8db9bb0952f8892cc1f3973963f6e0d99 (patch)
tree77d65338bb210ee2bf2ab8543c0e3022187fb147 /gcc/unroll.c
parent67c1e638884ddb1464e4ee36a749cb989571171a (diff)
downloadgcc-0da71ef8db9bb0952f8892cc1f3973963f6e0d99.tar.gz
* unroll.c (biv_total_increment): Don't try to compute the total
increment for FP BIVs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56479 138bc75d-0d04-0410-961f-82ee72b054a4
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 445ec5fc1a7..4096905be62 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;