diff options
| author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-14 03:39:22 +0000 |
|---|---|---|
| committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-14 03:39:22 +0000 |
| commit | d5ff563efb040e733b8d0aa88ef4a8b1058cde02 (patch) | |
| tree | 5b638748d0c466ab143b2c127c2433c3c4b20c1e /gcc/optabs.c | |
| parent | 38bcb5f98be5143c2a1df7880413d3346e02659e (diff) | |
| download | ppe42-gcc-d5ff563efb040e733b8d0aa88ef4a8b1058cde02.tar.gz ppe42-gcc-d5ff563efb040e733b8d0aa88ef4a8b1058cde02.zip | |
* expr.h (enum libfunc_index): Add LTI_memmove.
(memmove_libfunc): Define macro.
* optabs.c (init_optabs): Initialize memmove_libfunc.
* expr.c (expand_assignment): Use memmove_libfunc instead of
memcpy_libfunc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41345 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
| -rw-r--r-- | gcc/optabs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 4f30779ec43..4068fa863db 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -4763,6 +4763,7 @@ init_optabs () trunctfdf2_libfunc = init_one_libfunc ("__trunctfdf2"); memcpy_libfunc = init_one_libfunc ("memcpy"); + memmove_libfunc = init_one_libfunc ("memmove"); bcopy_libfunc = init_one_libfunc ("bcopy"); memcmp_libfunc = init_one_libfunc ("memcmp"); bcmp_libfunc = init_one_libfunc ("__gcc_bcmp"); |

