diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-11-01 03:22:21 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-11-01 03:22:21 +0000 |
commit | 78e7629e9f2b78c8ade485fb2e209427d2696300 (patch) | |
tree | e4e757584dc941d8bee942e484a6fd8344b8fa09 /gcc/builtins.def | |
parent | 9f56c00431885c8a5dd23d872beb232546e00a9c (diff) | |
download | gcc-78e7629e9f2b78c8ade485fb2e209427d2696300.tar.gz |
builtins.c (expand_builtin_strstr): New function.
* builtins.c (expand_builtin_strstr): New function.
(expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
* builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
* c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
and builtin strchr.
From-SVN: r37181
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r-- | gcc/builtins.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def index eda40d8762f..13e0f41839e 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -39,6 +39,8 @@ DEF_BUILTIN(BUILT_IN_BCMP) DEF_BUILTIN(BUILT_IN_STRCPY) DEF_BUILTIN(BUILT_IN_STRCMP) DEF_BUILTIN(BUILT_IN_STRLEN) +DEF_BUILTIN(BUILT_IN_STRSTR) +DEF_BUILTIN(BUILT_IN_STRCHR) DEF_BUILTIN(BUILT_IN_FSQRT) DEF_BUILTIN(BUILT_IN_SIN) DEF_BUILTIN(BUILT_IN_COS) |