diff options
Diffstat (limited to 'gcc/config/sh/sh.md')
-rw-r--r-- | gcc/config/sh/sh.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 4021fb2c76e..a9b86c4be8e 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -3877,7 +3877,7 @@ "* { union real_extract u; - bcopy ((char *) &CONST_DOUBLE_LOW (operands[0]), (char *) &u, sizeof u); + memcpy (&u, &CONST_DOUBLE_LOW (operands[0]), sizeof u); assemble_real (u.d, SFmode); return \"\"; }" @@ -3892,7 +3892,7 @@ "* { union real_extract u; - bcopy ((char *) &CONST_DOUBLE_LOW (operands[0]), (char *) &u, sizeof u); + memcpy (&u, &CONST_DOUBLE_LOW (operands[0]), sizeof u); assemble_real (u.d, DFmode); return \"\"; }" |