diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-03-26 02:36:39 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-03-26 02:36:39 +0000 |
commit | 56b8908481ae59ad65338b4d1249b040a057cc27 (patch) | |
tree | e5f20bf8f355e275aa2682ef4d8543e1f7c78257 | |
parent | cb9b7a8c9f080833c95afd184c25e372b43797d8 (diff) | |
download | gcc-56b8908481ae59ad65338b4d1249b040a057cc27.zip gcc-56b8908481ae59ad65338b4d1249b040a057cc27.tar.gz gcc-56b8908481ae59ad65338b4d1249b040a057cc27.tar.bz2 |
* toplev.c (set_float_handler): Use memcpy, not bcopy.
From-SVN: r40837
-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 c484664..55ef8ed 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 7a95697..b0da7be 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) { |