From: Kaveh R. Ghazi Date: Mon, 26 Mar 2001 02:36:39 +0000 (+0000) Subject: * toplev.c (set_float_handler): Use memcpy, not bcopy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56b8908481ae59ad65338b4d1249b040a057cc27;p=gcc.git * toplev.c (set_float_handler): Use memcpy, not bcopy. From-SVN: r40837 --- 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) {