mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 02:40:28 +08:00
(print_operands): Cast args to bcopy to char *.
From-SVN: r9894
This commit is contained in:
parent
f4fa7423c3
commit
e0dc347cf2
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user