diff options
author | jakub <> | 2003-04-28 11:10:35 +0000 |
---|---|---|
committer | jakub <> | 2003-04-28 11:10:35 +0000 |
commit | ae4f466e7040222b152c72538ff38bf6db442721 (patch) | |
tree | 724aa570916638d254b686a7dfa1cfb24f55c7f2 /gcc/builtin-types.def | |
parent | 18b841a80c347643d9510b0ae2add72fc9e5b4b2 (diff) |
* 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.
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, |