summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-01-31 23:43:28 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-01-31 23:43:28 +0000
commit204bdce0016348fa537db98a5ebb29d6ffd1d30b (patch)
tree52856edc51b8358cae0fe480ae691a1cb2082b9b /gcc/real.c
parent1c7c5fd520da04464582f1794baba33b1fab8511 (diff)
downloadgcc-204bdce0016348fa537db98a5ebb29d6ffd1d30b.tar.gz
(emovo): Use separate variable for loop index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6448 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 2dfac5cb134..7ac191af1a5 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -1536,6 +1536,7 @@ emovo (a, b)
{
register unsigned EMUSHORT *p, *q;
unsigned EMUSHORT i;
+ int j;
p = a;
q = b + (NE - 1); /* point to output exponent */
@@ -1562,7 +1563,7 @@ emovo (a, b)
/* skip over guard word */
++p;
/* move the significand */
- for (i = 0; i < NE - 1; i++)
+ for (j = 0; j < NE - 1; j++)
*q-- = *p++;
}