diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-28 12:10:35 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-28 12:10:35 +0000 |
commit | c49500936c013140a0cb95dcc6d1dcd170c2c080 (patch) | |
tree | 724aa570916638d254b686a7dfa1cfb24f55c7f2 /gcc/builtin-types.def | |
parent | 11a311051f05fa534d3f07ef2f134467238bb4ef (diff) | |
download | ppe42-gcc-c49500936c013140a0cb95dcc6d1dcd170c2c080.tar.gz ppe42-gcc-c49500936c013140a0cb95dcc6d1dcd170c2c080.zip |
* builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
* builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
functions.
(expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
* gcc.c-torture/execute/string-opt-19.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtin-types.def')
-rw-r--r-- | gcc/builtin-types.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/builtin-types.def b/gcc/builtin-types.def index a9db4a32be5..d9b98f11174 100644 --- a/gcc/builtin-types.def +++ b/gcc/builtin-types.def @@ -174,6 +174,8 @@ DEF_FUNCTION_TYPE_3 (BT_FN_PTR_PTR_INT_SIZE, BT_PTR, BT_PTR, BT_INT, BT_SIZE) DEF_FUNCTION_TYPE_3 (BT_FN_VOID_PTR_INT_INT, BT_VOID, BT_PTR, BT_INT, BT_INT) +DEF_FUNCTION_TYPE_3 (BT_FN_VOID_CONST_PTR_PTR_SIZE, + BT_VOID, BT_CONST_PTR, BT_PTR, BT_SIZE) DEF_FUNCTION_TYPE_3 (BT_FN_INT_STRING_CONST_STRING_VALIST_ARG, BT_INT, BT_STRING, BT_CONST_STRING, BT_VALIST_ARG) DEF_FUNCTION_TYPE_3 (BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG, |