aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2001-04-14 03:39:22 +0000
committerJeff Law <law@gcc.gnu.org>2001-04-13 21:39:22 -0600
commitb215b52e59a5fe300f5327a4fd886c9e1673a4c0 (patch)
tree5b638748d0c466ab143b2c127c2433c3c4b20c1e /gcc/expr.h
parent7eb07bdb5009fed93ff5164aed7a26d2c58cfc5f (diff)
downloadgcc-b215b52e59a5fe300f5327a4fd886c9e1673a4c0.zip
gcc-b215b52e59a5fe300f5327a4fd886c9e1673a4c0.tar.gz
gcc-b215b52e59a5fe300f5327a4fd886c9e1673a4c0.tar.bz2
expr.h (enum libfunc_index): Add LTI_memmove.
* 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. From-SVN: r41345
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index a68682e..786bcae 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -480,6 +480,7 @@ enum libfunc_index
LTI_trunctfdf2,
LTI_memcpy,
+ LTI_memmove,
LTI_bcopy,
LTI_memcmp,
LTI_bcmp,
@@ -611,6 +612,7 @@ extern rtx libfunc_table[LTI_MAX];
#define trunctfdf2_libfunc (libfunc_table[LTI_trunctfdf2])
#define memcpy_libfunc (libfunc_table[LTI_memcpy])
+#define memmove_libfunc (libfunc_table[LTI_memmove])
#define bcopy_libfunc (libfunc_table[LTI_bcopy])
#define memcmp_libfunc (libfunc_table[LTI_memcmp])
#define bcmp_libfunc (libfunc_table[LTI_bcmp])