summaryrefslogtreecommitdiff
path: root/gcc/config/a29k
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-06-06 22:33:37 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-06-06 22:33:37 +0000
commit48899b60dfe458a91cbef393b4482443d39bbdc5 (patch)
tree242883e6f83788ee79e7b6fb16d75bd43e4d79fc /gcc/config/a29k
parente517931e5142b49a9c38215cd309abac8e9ea67b (diff)
downloadgcc-48899b60dfe458a91cbef393b4482443d39bbdc5.tar.gz
(print_operands): Cast args to bcopy to char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/a29k')
-rw-r--r--gcc/config/a29k/a29k.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/a29k/a29k.c b/gcc/config/a29k/a29k.c
index 1997510a80f..2e48bd58108 100644
--- a/gcc/config/a29k/a29k.c
+++ b/gcc/config/a29k/a29k.c
@@ -1103,7 +1103,7 @@ print_operand (file, x, code)
{
union real_extract u;
- bcopy (&CONST_DOUBLE_LOW (x), &u, sizeof u);
+ bcopy ((char *) &CONST_DOUBLE_LOW (x), (char *) &u, sizeof u);
fprintf (file, "$double1(%.20e)", u.d);
}
else if (GET_CODE (x) == REG)
@@ -1167,7 +1167,8 @@ print_operand (file, x, code)
fprintf (file, "$float");
else
fprintf (file, "$double%d", SUBREG_WORD (XEXP (x, 0)));
- bcopy (&CONST_DOUBLE_LOW (SUBREG_REG (XEXP (x, 0))), &u, sizeof u);
+ bcopy ((char *) &CONST_DOUBLE_LOW (SUBREG_REG (XEXP (x, 0))),
+ (char *) &u, sizeof u);
fprintf (file, "(%.20e)", u.d);
}
@@ -1176,7 +1177,7 @@ print_operand (file, x, code)
{
union real_extract u;
- bcopy (&CONST_DOUBLE_LOW (x), &u, sizeof u);
+ bcopy ((char *) &CONST_DOUBLE_LOW (x), (char *) &u, sizeof u);
fprintf (file, "$%s(%.20e)",
GET_MODE (x) == SFmode ? "float" : "double0", u.d);
}