* toplev.c (set_float_handler): Use memcpy, not bcopy.

From-SVN: r40837
This commit is contained in:
Kaveh R. Ghazi 2001-03-26 02:36:39 +00:00 committed by Kaveh Ghazi
parent cb9b7a8c9f
commit 56b8908481
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.c (set_float_handler): Use memcpy, not bcopy.
2001-03-25 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (umodqi3): Output a tab instead of a

View file

@ -1660,7 +1660,7 @@ set_float_handler (handler)
{
float_handled = (handler != 0);
if (handler)
bcopy ((char *) handler, (char *) float_handler, sizeof (float_handler));
memcpy (float_handler, handler, sizeof (float_handler));
if (float_handled && ! float_handler_set)
{