diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c484664c265..55ef8ed99f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-03-25 Kaveh R. Ghazi + + * toplev.c (set_float_handler): Use memcpy, not bcopy. + 2001-03-25 Kazu Hirata * config/h8300/h8300.md (umodqi3): Output a tab instead of a diff --git a/gcc/toplev.c b/gcc/toplev.c index 7a9569722ad..b0da7be7c08 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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) {