diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-07 16:08:57 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-07 16:08:57 +0000 |
commit | 46f3a74a93033df2cb3b285e7dbb3d1d07598577 (patch) | |
tree | e972720ba7132b95f7ec0a0b456b6daf624432c8 /gcc/builtins.def | |
parent | 8f6cf59c314ca9b1be56322b347cef121314588c (diff) | |
download | gcc-46f3a74a93033df2cb3b285e7dbb3d1d07598577.tar.gz |
* builtins.c (expand_builtin_strpbrk): New function.
(expand_builtin): Handle BUILT_IN_STRPBRK.
* builtins.def (BUILT_IN_STRPBRK): New entry.
* c-common.c (c_common_nodes_and_builtins): Declare builtin
strpbrk.
testsuite:
* gcc.c-torture/execute/string-opt-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37291 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r-- | gcc/builtins.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def index 13e0f41839e..261c76a663c 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -40,6 +40,7 @@ DEF_BUILTIN(BUILT_IN_STRCPY) DEF_BUILTIN(BUILT_IN_STRCMP) DEF_BUILTIN(BUILT_IN_STRLEN) DEF_BUILTIN(BUILT_IN_STRSTR) +DEF_BUILTIN(BUILT_IN_STRPBRK) DEF_BUILTIN(BUILT_IN_STRCHR) DEF_BUILTIN(BUILT_IN_FSQRT) DEF_BUILTIN(BUILT_IN_SIN) |