aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-08-09 23:57:32 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-08-09 23:57:32 +0000
commiteefc2c6e85ee0a62e659d0bf7d9000bbb8d06620 (patch)
tree3cb804a804e42db60ad34dd76748471e77d98970 /gcc/real.c
parent0070eeda6575ef675615ddf51bf52b441a415297 (diff)
downloadgcc-eefc2c6e85ee0a62e659d0bf7d9000bbb8d06620.zip
gcc-eefc2c6e85ee0a62e659d0bf7d9000bbb8d06620.tar.gz
gcc-eefc2c6e85ee0a62e659d0bf7d9000bbb8d06620.tar.bz2
Warning fix:
* real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy. From-SVN: r28636
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 6594bd8..c7c2db7 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -281,10 +281,10 @@ do { \
else \
{ \
unsigned EMUSHORT w[4]; \
- bcopy (((EMUSHORT *) r), &w[3], sizeof (EMUSHORT)); \
- bcopy (((EMUSHORT *) r) + 1, &w[2], sizeof (EMUSHORT)); \
- bcopy (((EMUSHORT *) r) + 2, &w[1], sizeof (EMUSHORT)); \
- bcopy (((EMUSHORT *) r) + 3, &w[0], sizeof (EMUSHORT)); \
+ memcpy (&w[3], ((EMUSHORT *) r), sizeof (EMUSHORT)); \
+ memcpy (&w[2], ((EMUSHORT *) r) + 1, sizeof (EMUSHORT)); \
+ memcpy (&w[1], ((EMUSHORT *) r) + 2, sizeof (EMUSHORT)); \
+ memcpy (&w[0], ((EMUSHORT *) r) + 3, sizeof (EMUSHORT)); \
e53toe (w, (e)); \
} \
} while (0)
@@ -297,10 +297,10 @@ do { \
{ \
unsigned EMUSHORT w[4]; \
etoe53 ((e), w); \
- bcopy (&w[3], ((EMUSHORT *) r), sizeof (EMUSHORT)); \
- bcopy (&w[2], ((EMUSHORT *) r) + 1, sizeof (EMUSHORT)); \
- bcopy (&w[1], ((EMUSHORT *) r) + 2, sizeof (EMUSHORT)); \
- bcopy (&w[0], ((EMUSHORT *) r) + 3, sizeof (EMUSHORT)); \
+ memcpy (((EMUSHORT *) r), &w[3], sizeof (EMUSHORT)); \
+ memcpy (((EMUSHORT *) r) + 1, &w[2], sizeof (EMUSHORT)); \
+ memcpy (((EMUSHORT *) r) + 2, &w[1], sizeof (EMUSHORT)); \
+ memcpy (((EMUSHORT *) r) + 3, &w[0], sizeof (EMUSHORT)); \
} \
} while (0)