diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-01 03:22:21 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-01 03:22:21 +0000 |
commit | 17f5ea874265fddbd7c9fcaf2ff8d5b2d5b813fb (patch) | |
tree | e4e757584dc941d8bee942e484a6fd8344b8fa09 /gcc/builtins.def | |
parent | c0921e860cbea2ca7a38116365f9766c55abd710 (diff) | |
download | ppe42-gcc-17f5ea874265fddbd7c9fcaf2ff8d5b2d5b813fb.tar.gz ppe42-gcc-17f5ea874265fddbd7c9fcaf2ff8d5b2d5b813fb.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37181 138bc75d-0d04-0410-961f-82ee72b054a4
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) |