diff options
| author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-26 02:36:39 +0000 |
|---|---|---|
| committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-26 02:36:39 +0000 |
| commit | 1a3e3dee0831ccde752a948958bf1fbff4197ba6 (patch) | |
| tree | e5f20bf8f355e275aa2682ef4d8543e1f7c78257 | |
| parent | 443b1b77fb626409914cf641a8e34e7740a048cc (diff) | |
| download | ppe42-gcc-1a3e3dee0831ccde752a948958bf1fbff4197ba6.tar.gz ppe42-gcc-1a3e3dee0831ccde752a948958bf1fbff4197ba6.zip | |
* toplev.c (set_float_handler): Use memcpy, not bcopy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40837 138bc75d-0d04-0410-961f-82ee72b054a4
| -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) { |

