diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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) { |